首页
讨论区
新职位
搜索论坛
什么's new
新职位
新的个人资料帖子
最新活动
会员
目前的访客
新的个人资料帖子
搜索个人资料帖子
VB.NET社区
登录
登记
什么's new
搜索
搜索
仅搜索标题
经过:
新职位
搜索论坛
Menu
Log in
Register
安装应用
安装
首页
讨论区
ASP.NET
MVC,MVVM等
ASP.NET MVC3-Buddy类中的数据库优先方法和数据注释问题
您正在使用过期的浏览器。它可能无法正确显示此网站或其他网站。
您应该升级或使用
替代浏览器
.
回复主题
信息
<blockquote data-quote="AukI" data-source="post: 52" data-attributes="member: 61"><p>ASP.NET MVC3-Buddy类中的数据库优先方法和数据注释问题</p><p></p><p></p><p><a href="http://www.mediafire.com/?tkh5a7jchhqo618">Download - My Current Blog Project</a> 11 MB</p><p></p><p>I have wrote an article about <a href="http://auk-port.blogspot.com/2011/05/how-to-create-database-first-in-aspnet.html">Database First Approach using EF4.1 </a> but the problem is I can't save the data annotations in the generated classes. And which is pretty obvious because those class will be generated after the db or model change. </p><p></p><p>So I learned about buddy class in the C# , <a href="http://msdn.microsoft.com/en-us/library/ee256141.aspx">How to: Validate Model Data Using DataAnnotations Attributes</a> but couldn't implement in my project , so I had posted my whole project link , please help me.</p></blockquote><p></p>
Insert quotes…
确认
发表回复
首页
讨论区
ASP.NET
MVC,MVVM等
ASP.NET MVC3-Buddy类中的数据库优先方法和数据注释问题
本网站使用Cookie来帮助个性化内容,调整您的体验并在注册时保持登录状态。
继续使用本网站,即表示您同意我们使用cookie。
接受
了解更多…
最佳
底部