python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
What is the equivalent of entityEntry.Metadata.DefiningNavigationName() in EF Core 6?
I am using EF Core 5 and I have the following in my DBContext SaveChanges():
if (entityEntry.Metadata.Name == "ArticleBankAggregate.ArticleTag" && entityEntry.Metadata.De...
Mike Lenart
Votes: 0
Answers: 1
How to register derived instance of DbContext?
I am trying to do POC using Clean Architecture as discussed here, using EF Core 5. In clean architecture the Infrastructure concern like database are separated in Infrastructure layer and then domain ...

LP13
Votes: 0
Answers: 1
What is the use of FromExpression in EF 5?
I am trying to understand whats the use of new FromExpression extension method introduced in EF 5 since there are already few different ways you can query entity
Using FromExpression:
var q = DBContex...

LP13
Votes: 0
Answers: 1
Adding entities with Id 0 using EF Core
I'm trying to update an ICollection Navigation property called Tags, which belong to the User entity:
if (memberUpdateDto.Tags != null)
{
user.Tags = new List<UsersTags>();
foreach (TagD...
Oren A
Votes: 0
Answers: 2