Answers for "rename join table in many to many"

C#
0

rename join table in many to many

modelBuilder.Entity<Food>()
    .HasMany(left => left.Menus)
    .WithMany(right => right.Foods)
    .UsingEntity(join => join.ToTable("TheDesiredName"));
Posted by: Guest on May-05-2021

Code answers related to "rename join table in many to many"

C# Answers by Framework

Browse Popular Code Answers by Language