LINQ to Entities, SQL Server version and setting ProviderManifestToken at runtime

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2010-04-28T18:10:51Z Indexed on 2010/04/28 19:47 UTC
Read the original article Hit count: 216

We have developers some developers who are developing against a SQL Server 2005 database, while others are using 2008.

We just discovered that generating the edmx against a 2008 database set the ProviderManifestToken to 2008, which means some queries won't work against a 2005 database.

While this is a known issue, is there any way to set this value at run time, based on a config file?

© Stack Overflow or respective owner

Related posts about linq-to-entities

Related posts about sql-server