under your dbcontext class override onmodelcreating method.
  1. protected override void OnModelCreating(DbModelBuilder modelBuilder)  
  2.     {  
  3.       modelBuilder.Entity()  
  4.                           .HasMany(s => s. Product)  
  5.                           .WithMany(c => c.Customers)  
  6.                           .Map(cs =>  
  7.                           {  
  8.                              cs.MapLeftKey("CustomerId");  
  9.                             cs.MapRightKey("ProductId");  
  10.                             cs.ToTable("Order");  
  11.                          });  
  12.            } 
 relation between customer and product will generate a bridge table named as CustomerProducts , we override this convention using ToTable() method , in my case i geve the table name "Order".
https://www.sharpencode.com/article/EntityFramework/how-to-establish-relationship-correctly/using-fluent-api