This commit is contained in:
parent
519fe66a06
commit
32bb3b8ddc
|
@ -17,6 +17,7 @@ namespace Sample.SqlServer.DbContexts
|
|||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
//配置默认和DefaultTableDbContext一样
|
||||
modelBuilder.ApplyConfiguration(new SysUserModMap());
|
||||
modelBuilder.ApplyConfiguration(new SysTestMap());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue