Top "Entity-framework-6" questions

For questions about the The ADO.

Integrating ASP.NET Identity into Existing DbContext

I'm working on an ASP.NET MVC 5 project in VS2013, .NET 4.5.1, that uses Entity Framework 6 Code-First. I have a decent …

c# entity-framework ef-code-first entity-framework-6 asp.net-identity
Database.BeginTransaction vs Transactions.TransactionScope

What is the difference between System.Transactions.TransactionScope and EF6's Database.BeginTransaction? Could someone give a small example or …

c# entity-framework transactions entity-framework-6 transactionscope
Set Command Timeout in EF 6

I want to set command timeout for query execution, currently I am doing context.Database.CommandTimeout = 90; but i feel this …

asp.net-mvc entity-framework entity-framework-6 command-timeout
Invalid object name 'dbo.__MigrationHistory' using Database.Create; EF6.02 when connection string is passed in

I experience an error when trying to create a database using the following code. Note the problem does not happen …

entity-framework-6 package-managers
Entity Framework 6 Code First - Required Enum data type not working

I am generating a database table using an required enum field. However, when feeding the table, it is possible to …

c# entity-framework-6 enumeration
LINQ ToListAsync expression with a DbSet

I have coded a C# MVC5 Internet application, and have a question about using the .ToListAsync LINQ expression. Here is …

c# linq async-await entity-framework-6 ienumerable
Check if there are any pending changes to be saved

Is there a way to find out whether there are unsaved changes in my entity context, in the Entity Framework?

entity-framework entity-framework-4 entity-framework-5 entity-framework-6
Entity Framework 6 (5) connection to Oracle

I am attempting to write a Data Access library for our suite of applications that use Oracle in .net. We …

visual-studio-2013 entity-framework-6 odp.net odac
How to inject UserManager & SignInManager

I am trying to figure out how to inject UserManager and SignInManager. I have installed Ninject in my application and …

c# asp.net-mvc-5 entity-framework-6 ninject asp.net-identity
Upgrade EF 4 EDMX to EF 6

My application is using a database first EDMX in EF 4. I would like to upgrade everything to EF 6. After getting …

entity-framework entity-framework-4 entity-framework-6