Advanced table mapping - EF Core | Microsoft Learn
learn.microsoft.com › en-us › efDec 14, 2022 · EF Core offers a lot of flexibility when it comes to mapping entity types to tables in a database. This becomes even more useful when you need to use a database that wasn't created by EF. The below techniques are described in terms of tables, but the same result can be achieved when mapping to views as well. Table splitting
Efficient Querying - EF Core | Microsoft Learn
learn.microsoft.com › en-us › efJan 12, 2023 · EF tracks entity instances by default, so that changes on them are detected and persisted when SaveChanges is called. Another effect of tracking queries is that EF detects if an instance has already been loaded for your data, and will automatically return that tracked instance rather than returning a new one; this is called identity resolution. From a performance perspective, change tracking means the following: