0

We are using EntityFramework Version 5 and we are run MS SQL 2012 locally, but the particular project I'm on has MS SQL 2005 installed in production.

The reason and the current solution is provided in this question.

My question is if there is an annotation or something in that can be specified in a file that ISN'T regenerated every time that you update from the DB.

Community
  • 1
  • 1
Jared
  • 5,840
  • 5
  • 49
  • 83

1 Answers1

1

You can create a DbConfiguration class, that includes a call to SetManifestTokenResolver as in the sample here: http://romiller.com/2014/06/10/reducing-code-first-database-chatter/

And for EF 5 use this How to configure ProviderManifestToken for EF Code First

ErikEJ
  • 40,951
  • 5
  • 75
  • 115