Skip to content

MH61Aus/EFCoreGetStarted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFCoreGetStarted

This is a demo app created as a demonstration of dotnet/efcore#30877

It uses a table per hierarchy to map a blog to two derived types: RssBlog and SpecialBlog. Blog itself is abstract, as every blog must be a derived type.

Each Blog has an owner. An owner can own multiple Rss Blogs, and only one Special Blog.

I have forced the Blog<->Owner FK to be in the Blog table (i.e. Blog.OwnerID). But the migrations generator duplicates the FK and Index generation, possibly because of the TPH implementation.

About

Sample EF Core App Highlighting Migration Issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages