Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dbcontext

asp.net mvc 4 - Okay to share DbContext per thread?

Ramifications of using DBContext with Dependency Injection

C# Entity Framework DBContext

How to check whether DbContext.Set<T> exists in model?

The entity type is not part of the model, EF 5

Splitting DbContext into multiple contexts with overlapping DbSets

How should I scope dependency injection of Entity Framework DbContext in a web app? (InstancePerHttpRequest vs SingleInstance)

DbContext not initializing with SQL Server Compact in ASP.Net MVC

System.Data.SqlClient.SqlException: 'Incorrect syntax near '@p0'.'

c# sql-server dbcontext

DbContextOptionsBuilder does not contain a definition for 'UseSqlite'

asp.net dbcontext

Proper way to profile a DbContext using MiniProfiler and EF 5 and Autofac

Cannot register IRelationalTypeMappingSource

Where to subscribe to ObjectMaterialized using EF6?

'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextFactory`1[TContext]' violates the constraint of type parameter 'TContext'

c# System.AccessViolationException: Attempted to read or write protected memory.?

Ignore duplicate entries and commit successful ones on DbContext.SaveChanges() in EF Core

DbContext SaveChanges() - Detecting updated entities

How do I mock DbContext using NSubstitute and then add/remove data

Storing data between requests in dbcontext

How to set database column as "Sparse" when using EF Code First Fluent API?