question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support IncludeIndependantAssociations for EF Core

See original GitHub issue

With EF Core 5 now supporting many-to-many relationships without explicitly mapping the join table, can this be revisited?

It may be possible to find the needed associations here:

// get entries
var entityEntries = ChangeTracker.Entries();

// get one entry
EntityEntry entityEntry = entityEntries.FirstOrDefault();

// get collections
var collectionEntries = entityEntry.Collections;

// get one collection
CollectionEntry collectionEntry = collectionEntries.FirstOrDefault();

EntityEntry

CollectionEntry

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mrlifecommented, Mar 23, 2021

I tested out using MapTable() and it works great! Thanks again.

1reaction
thepirat000commented, Mar 23, 2021

This was implemented on version 16.5.5, please upgrade your references and re-test using MapExplicit() or MapTable()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Audit.Net Entity Framework - Independant Associations ...
1 Answer 1 ... You can include the associations as follows: Audit.EntityFramework.Configuration.Setup() .ForAnyContext(config => config .
Read more >
Eager Loading of Related Data - EF Core
Eager loading of related data with Entity Framework Core. ... Supported operations are: Where , OrderBy , OrderByDescending , ThenBy ...
Read more >
Entity Framework Support Policies
The Entity Framework Core support policy aligns with the .NET support policy. See current and planned releases for more information. Entity ...
Read more >
How To Track Entity Changes With EF Core | Audit Logging
Check out my Pragmatic Clean Architecture course: https://www.milanjovanovic.tech/pragmatic-clean-architecture Support me on Patreon to ...
Read more >
Entity Framework Support - Documentation
dotConnect for Oracle fully supports ADO.NET Entity Framework, including Entity Framework Core. The article consists of the following sections: What is ADO.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found