System.InvalidOperationException: No service for type ‘Microsoft.EntityFrameworkCore.Infrastructure.ILazyLoader’ has been registered
I am trying to use EF lazy loading without proxies as I only want to lazy load a small part.
EF 6 to EF Core migration: Expression builder for Include Statement
I’m migrating a .NET Framework project to .NET 8 which uses Entity Framework for data access.
EF6 to EF Core migration: Expression builder for Include Statement
I’m migrating a .NET Framework project to DOTNET 8 which uses Entity Framework for data access.
Change the default name of EF Core generated join fields
When this code runs (FYI, the generic <TDbEntity>
is a VgnItmDbEntity
):
ICollection cannot be used for parameter of type IList of method PopulateList
I have modified my EF core entities, to swap out all List
s for ICollection
s, to adhere to my new code linter rules. So why can’t I do this anymore:
Unable to delete record from a underlying table when there is an equal view using Entity Framework Core and C#
I use Entity Framework Core in an ASP.NET C# project.
Unable to delete record from a core table When there is an equal view using Entity Framework C#
Unable to delete record from a core table When there is an equal view using Entity Framework C#
Navigation property is not getting mapped
Can someone pls explain why this is happening. I’m trying to get Orders from in memory database but Customer is always null
Can I create a Foreign Key from an entity using a field that belongs to a different entity?
I have a Receipt
entity, that can link to a MatchedMerchantReturnLine
entity. This MatchedMerchantReturnLine
entity has a OurOrderNumber
property.
EF Core Data Seeding for Json column
I am trying to Data seed in EF core DbContext that has some json column.