阅读背景:

ASP MVC数据库优先 - 刷新EF实体框架时丢失所有验证

来源:互联网 

I have this annoying problem were every time I want to refresh my Entity Framework schema (Database First), I lose all validation code I had written (with Resource for translation, etc...) and then I need to get back to my previous code from version control and overwrite it the way it was prior to refreshing schema. I did find a patch to overpass this problem but I find it's quite some overhead.... I need some suggestions on how to probably handle that..please!!! So let say my model with validation and resources (shorter for the question) is the following: I have this annoying problem were every time I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: