Thursday, March 19, 2009

Finally, an easy fix in the .edmx file...

I finally decided to check the .EDMX file after the conversion to SQL 2000 before my commit in SVN. I figured out that the engine is driven by an attribute on the context definition: For SQL 2008, I had:

ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">

For SQL 2000:

ProviderManifestToken="2000" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">


I guess, I was also not using 2005 when I generated my model either, I was using 2008... :)

No comments:

Post a Comment