Skip to content

Instantly share code, notes, and snippets.

@dmitry-osin
Created June 29, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry-osin/e011603c5489aa934082 to your computer and use it in GitHub Desktop.
Save dmitry-osin/e011603c5489aa934082 to your computer and use it in GitHub Desktop.
A first chance exception of type 'System.Data.DataException' occurred in EntityFramework.dll
System.Data.Entity.Validation.DbEntityValidationException: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
в System.Data.Entity.Internal.InternalContext.SaveChanges()
в System.Data.Entity.Internal.LazyInternalContext.SaveChanges()
в System.Data.Entity.DbContext.SaveChanges()
в System.Data.Entity.DropCreateDatabaseAlways`1.InitializeDatabase(TContext context)
в System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
в System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
A first chance exception of type 'System.Data.DataException' occurred in EntityFramework.dll
System.Data.Entity.Validation.DbEntityValidationException: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
в System.Data.Entity.Internal.InternalContext.SaveChanges()
в System.Data.Entity.Internal.LazyInternalContext.SaveChanges()
в System.Data.Entity.DbContext.SaveChanges()
в System.Data.Entity.DropCreateDatabaseAlways`1.InitializeDatabase(TContext context)
в System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
в System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment