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

Edited Unassigned: EF6B1 - DB is not created [1361]

$
0
0
Hello,

after the upgrade to EF6 beta 1, the DB creation / migration is not working anymore.
Before I used the latest version of EF5.

I am using CodeFirrst and the Initializer:

Database.SetInitializer<MyDBContext>(
new MigrateDatabaseToLatestVersion<MyDBContext,MyDBMigrationsConfiguration>());

Instead of creating the DB I received following error message.

An exception of type 'System.InvalidOperationException' occurred in EntityFramework.dll but was not handled in user code

Additional information: Sequence contains no matching element

Another question: Is it possible to check, if the creation was successfully or not?

Thank you,
Manullino

Viewing all articles
Browse latest Browse all 10318

Latest Images

Trending Articles



Latest Images

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