Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dbcontext

EF core and ASP.NET Core with a schema based multitenancy

WCF Saving EF 4.1 item throws exception An item cannot be added to a fixed size Array of type

C# Problem with DbContext: Argument 1: cannot convert 'string' to 'Microsoft.EntityFrameworkCore.DbContextOptions'

Create new DbContext dynamically when using ASP.Net Core dependency injection

Mocking EF's ExecuteSqlCommand using NUnit

How to use `Scaffold-DbContext` command in VS Code

IQueryable extension method without passing the DbContext as a parameter

Entity Framework - adding an existing entity to one to one relationship in seed method

ApplicationUser is not part of the model for the current context

How to use IdentityDbContext instead of DbContext

Get instance of singleton service in startup

Query different columns depending on generic type argument

.NET Core: "Unable to materialize entity instance of type 'IdentityUser'. No discriminators matched the discriminator value"

DbContext Update vs EntityState Modified

The call is ambiguous between the following methods or properties [ Entity Framework Core ] [ OnModelCreating ]

EF Core DbContext being disposed of before Async methods are complete

DbContext class, can't find

c# asp.net-mvc dbcontext