No description or website provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md

README.md

Demos for blog posts abount Entity Framework Core

N+1 Queries Problem

See the method ExecuteDemoDbQueries in Program.cs

Blog posts:

Inheritance

Blog posts:

Table-Per-Hierarchy (TPH)

Code First: see the method ExecuteTphQueries in Program.cs and the file in /src/EntityFramework.Demo/TphModel/CodeFirst

Table-Per-Type (TPT)

Code First: see the method ExecuteTptQueries in Program.cs and the file in /src/EntityFramework.Demo/TptModel/CodeFirst

Changing Schema at Runtime

See the method ExecuteSchemaChangeQueries in Program.cs

Blog posts:

Issues with TransactionScopes

See the method ExecuteTransactionScopeDemosAsync in Program.cs

Blog posts: Entity Framework Core: Use TransactionScope with Caution!

Integration Testing

See code inside folder IntegrationTests

Blog posts: Entity Framework Core: Isolation of Integration Tests