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
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