This commit is contained in:
@@ -13,7 +13,7 @@ namespace Dilon.EntityFramework.Core
|
||||
options.CustomizeMultiTenants(); // 自定义租户
|
||||
|
||||
options.AddDb<DefaultDbContext>();
|
||||
options.AddDb<MultiTenantDbContext, MultiTenantDbContextLocator>();
|
||||
options.AddDb<MultiTenantDbContext>();
|
||||
}, "Dilon.Database.Migrations");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user