Using SQL Server 2008 and SQL Server 2005 and date time

前端 未结 8 2180
春和景丽
春和景丽 2020-12-12 12:52

I\'ve built a entity framework model against a 2008 database. All works ok against the 2008 database. When I try to update the entity on a 2005 database I get this error.

8条回答
  •  -上瘾入骨i
    2020-12-12 13:39

    Had a similar problem with 2012 vs. 2008. It can be solved with a BeforeBuild event using XmlPeek and XmlPoke:

       
          
             
          
    
          
          
       
    

    If you dislike automated replacement, you can simply replace the XmlPoke task with an Error task.

提交回复
热议问题