Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dbcontext

"No executable found matching command dotnet-ef" error with EF Core database-first

How do you configure the DbContext when creating Migrations in Entity Framework Core?

Using Entity Framework Core 3.1 with UseInMemoryDatabase option in ServiceProvider ( Scoped lifetime )

'ObjectContext' vs 'DbContext' in Entity Framework

What is the difference between IDbSet.Add and DbEntityEntry.State = EntityState.Added?

EF 4.1 OnModelCreating not called

SqlException: Syntax Error Near 'GO'

sql-server-2008 dbcontext

Getting "The entity type <model> is not part of the model for the current context."

Entity Framework 6 - use my getHashCode()

Entity Framework code first: How to ignore classes

Share DbContext across Repositories in MVC Web App

Entity Framework relationships between different DbContext and different schemas

Is DbSet<>.Local something to use with special care?

More than one DbContext was found

The provider did not return a ProviderManifestToken string error

Should I separate my application context from ApplicationDbContext used for identity?

Using Automapper to update an existing Entity POCO

Migration: No DbContext was found in assembly

EF (entity framework) usage of "using" statement

Is it possible to query Entity Framework before calling DbContext.SaveChanges?