Top "Entity-framework-6" questions

For questions about the The ADO.

Entity Framework 6: audit/track changes

I have my core project in C#. I work on a database, where some tables have the columns "user_mod" …

c# entity-framework entity-framework-6 audit audit-trail
Entity Framework 6 transaction rollback

With EF6 you have a new transaction which can be used like: using (var context = new PostEntityContainer()) { using (var dbcxtransaction = …

c# sql-server entity-framework transactions entity-framework-6
Entity Framework 6: Clone object except ID

In my MVVM program I have a Model class (say MyModel) from which I have an instance of reading from …

c# entity-framework mvvm entity-framework-6
Problems using Entity Framework 6 and SQLite

I'm trying to use Entity Framework with SQLite. I had issues integrating it into my main application, so I started …

c# .net entity-framework sqlite entity-framework-6
Configure multiple database Entity Framework 6

In my solution I have 2 projects that use Entity Framework 6. Each points to a different database, both using the same …

c# entity-framework dbcontext entity-framework-6
Entity Framework 6 with SQLite 3 Code First - Won't create tables

Using latest versions of EF6 and SQLite from NuGet. I finally got the app.config file to work after some …

.net sqlite ef-code-first entity-framework-6 system.data.sqlite
EF 6 System.Data.Objects.ObjectContext Error

I recently upgraded from Entities Framework 5 to Entities Framework 6 Alpha 2 and I am getting the following error: Method not found: …

c# asp.net-mvc asp.net-mvc-4 azure-sql-database entity-framework-6
How can I catch UniqueKey Violation exceptions with EF6 and SQL Server?

One of my tables have a unique key and when I try to insert a duplicate record it throws an …

c# sql-server exception-handling entity-framework-6 unique-key
How to create a table corresponding to enum in EF6 Code First?

I've followed MSDN on how to handle enumerations in Code First for EF6. It worked, as supposed to but the …

c# entity-framework enums ef-code-first entity-framework-6
Upgrade from Entity Framework 5 to 6

After upgrading our project from using Entity Framework 5 to Entity Framework 6 (though NuGets update function) i get the following error …

c# entity-framework entity-framework-5 entity-framework-6 ef-database-first