Entity Framework (EF) Core is an open source multi-platform ORM developed by Microsoft.
I am trying to implement Entity Framework 7 in MVC 6, and on this page here it says to do services.AddEntityFramework() .…
c# asp.net .net asp.net-core-mvc entity-framework-coreUpon upgrade to EFCore 3.1 deprecated warnings appeared: Warning CS0618 'RelationalDatabaseFacadeExtensions.ExecuteSqlCommandAsync(DatabaseFacade, RawSqlString, params object[])' is obsolete: 'For the …
c# entity-framework-core ef-core-3.1I am wondering if there is a data annotation for unique constraint in Entity Framework Core 2 code first approach?
c# ef-code-first entity-framework-core ef-core-2.0Have a scenario to execute a stored procedure and read the return value in EF Core, that returns a single …
c# asp.net-core entity-framework-core ef-core-2.0I have some models like those below: public class Mutant { public long Id { get; set; } ... // Relations public long OriginalCodeId { get; …
entity-framework-core lazy-loading eager-loadingIn some reason, I need to use SQL in EFCore, and I will use table name of mapped entity. How …
asp.net-core .net-core entity-framework-coreI am trying to upgrade our current .Net Core application from 1.1 to 2.0 and am getting this runtime error: "The DbContext …
asp.net-core entity-framework-core .net-core-2.0We are currently using the method below which depends upon IObjectContextAdapter in an abstract Repository. From what I'm reading, it …
entity-framework primary-key repository-pattern entity-framework-coreI am trying to create a generic repository to access my database. In EF6 I was able to do that …
c# entity-framework-coreHow to implement the field decimal(5,2) in EntityFrameworkCore 1.0 rc2 ? HasPrecision seems to be not available anymore?
c# entity-framework-core