Zteve
Zteve

Reputation: 351

asp.net mvc code first set database version

I'm using the aps.net mvc 4 code first entity framework.

If there's no database, my application creates the databases as it should. The problem is, that they are generated in the version 706 (Sql Server 2012) but I need it as an older version, so I can run/handle it with Sql Server 2008

Is there a way to configure in which version the database is generated?

Upvotes: 0

Views: 188

Answers (1)

William
William

Reputation: 221

If I can remember now I think the attribute you are looking for is ProviderManifestToken.

Have a look at this article for how to change it.

Upvotes: 1

Related Questions