I have an table that permanently stores a list of zip codes and city names for the US. Unfortunately, it seems that with EF 4.1 if I modify the model during developement, the entire db needs to be droped and recreated. Since migrations are not yet supported in EF, this seems to be a problem. Any ideas?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Actually first CTP version of migrations is already available but it is still just preview.
you can use a custome initializer class. In here you can insert all values when database changes happens. This is from Contoso Universty example from msdn.