Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

rename join ta le in many to many

modelBuilder.Entity<Food>()
    .HasMany(left => left.Menus)
    .WithMany(right => right.Foods)
    .UsingEntity(join => join.ToTable("TheDesiredName"));
 
PREVIOUS NEXT
Tagged: #rename #join #ta #le
ADD COMMENT
Topic
Name
5+2 =