Entity Framework (EF) Core is an open source multi-platform ORM developed by Microsoft.
I want to execute an SQL command from Entity Framework Core 2.0, but I can't figure out how to do so. 1.…
c# sql entity-framework-core asp.net-core-2.0I'm trying to insert records in two tables, but getting the exception. Could you please help me to resolve the …
c# asp.net-core ef-code-first entity-framework-core aspnetboilerplateI am using ASP.NET Core 2.2, EF Core and MOQ. When I run the test I am getting this error: …
c# unit-testing asp.net-core entity-framework-core moqIn ASP.NET Core / EntityFramework Core, the services.AddDbContext<> method will add the specified context as a scoped …
c# asp.net-core entity-framework-coreFor Asp.net Core apps, which one do we have to use? AddDbContext or AddDbContextPool? According to EF Core documentation, …
asp.net-core entity-framework-core asp.net-core-2.0For example, I have 3 classes, which I'm using for many-to-many relationship: public class Library { [Key] public string LibraryId { get; set; } …
c# many-to-many entity-framework-coreIn the following console application (.Net core 2.0), the scaffold-dbcontext created the following DbContext public partial class MyContext : DbContext { public virtual …
c# entity-framework .net-core entity-framework-coreI've been playing around with Entity Framework 7 and ASP.NET 5 for a new project I'm working on, but I've hit …
c# sql-server asp.net-core entity-framework-coreI'm using the latest (1.0.0) version of EF Core. I have a migration to run on a quite big database. I …
c# entity-framework entity-framework-core"Contains" in Entity Framework core should equivalent to the SQL %like% operator. Therefore "Contains" should be case insensitive however it …
c# database postgresql linq entity-framework-core