Entity Framework datetime2 error

If you want to use Entity Framework generated by SQL 2008 on a SQL 2005 can be raise the error "type datetime2 not supported for the current version of SQL. " To work around this problem you must open the file edmx with the XML editor and change the value of ProviderManifestToken = "2008 " to ProviderManifestToken = "2005"

HTH

Alberto

Print | posted on mercoledì 6 aprile 2011 11.19

Feedback

No comments posted yet.

Your comment:





 
Please add 1 and 4 and type the answer here:

Copyright © Alberto De Luca

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski