Skip to content

aboondeviant/ef-core-junction-table-issue

Repository files navigation

Create Database using script:

Failures:

Multiple junction tables to the same Entity example:

dotnet ef dbcontext scaffold "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=junction_table_test" Microsoft.EntityFrameworkCore.SqlServer

Will throw the following error:

System.InvalidOperationException: The property or navigation 'Products' cannot be added to the entity type 'Product (Dictionary<string, object>)' because a property or navigation with the same name already exists on entity type 'Pro duct (Dictionary<string, object>)'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published