EF :我需要将表的名称作为实体的名称,而不是dbset,还需要Id作为"tableName"+"Id"。我有一个DbSet<Country> Countries -我需要表名Country和Id列(从基本实体继承)为CountryId。builder.Property(p => p.Id)
.Has
如何使用实体框架代码优先迁移来更改表的名称。RoleBindingModel、DivisionBindingModel等,这并不理想。IdentityModels.cs
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>: base("De