Answers for "renaming table name entity framework code first fluent api"

C#
1

renaming table name entity framework code first fluent api

protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
  //Changing Database table name to Metadata
  modelBuilder.Entity<Metadata>().ToTable("Metadata");
}
Posted by: Guest on September-18-2021

Code answers related to "renaming table name entity framework code first fluent api"

C# Answers by Framework

Browse Popular Code Answers by Language