阅读背景:

在使用实体框架保存对SQL Server数据库的更改时,一个或多个实体的验证失败

来源:互联网 

I want to save my Edit to Database and I am using Entity FrameWork Code-First in ASP.NET MVC 3 / C# but I am getting errors. In my Event class, I have DateTime and TimeSpan datatypes but in my database, I've got Date and time respectively. Could this be the reason? How can I cast to the appropriate datatype in the code before saving changes to database.I want to save my Edit to Database and I am usi




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

分享到: