You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
Is it possible to draw and generate code for many to many associations for EF 7.
EF 7 does not use explicit Entity for many to many table.
It uses only fluent API specification of that many to many table, I changed generated code from designer and it works , I just dont know how to do it in designer.
Many to many with tables Item and Tag with EF 7 Core :
Is it possible to draw and generate code for many to many associations for EF 7.
EF 7 does not use explicit Entity for many to many table.
It uses only fluent API specification of that many to many table, I changed generated code from designer and it works , I just dont know how to do it in designer.
Many to many with tables Item and Tag with EF 7 Core :
modelBuilder.Entityglobal::RemoteMate.Persistence.Items()
.HasManyglobal::RemoteMate.Persistence.Tags(p => p.Tag)
.WithMany(p => p.Item)
.UsingEntity(j => j.ToTable("ItemTag"));