The linked answer is old and it does not work because user agreements have been removed from the final version. If you want to change the name of the scheme, you can freely use the api:
public class Context : DbContext
{
public DbSet<YourType> YourTypeSet { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<YourType>().ToTable("TableName", "SchemaName");
}
}
source
share