Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Reopened Issue: Code First support for empty databases should work with other providers [787]

$
0
0
In EF5 we made Code First work in scenarios in which the target database exists but the tables still need to be created. This functionality depends on a check that is implemented in the method DatabaseTableChecker.AnyModelTableExists which currently executes hardcoded SQL information schema queries for "System.Data.SqlClient" and "System.Data.SqlClientCe.4.0" but returns true for any other ADO.NET provider invariant names. It should be possible to either re-implement check in a provider agnostic way or to extend the public provider model to support this check with any provider.
Comments: test

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>