This commit is contained in:
@@ -34,6 +34,9 @@ namespace Dilon.EntityFramework.Core
|
|||||||
{
|
{
|
||||||
var defaultConnection = App.Configuration["ConnectionStrings:DefaultConnection"];
|
var defaultConnection = App.Configuration["ConnectionStrings:DefaultConnection"];
|
||||||
|
|
||||||
|
// 不需要多租户
|
||||||
|
return defaultConnection;
|
||||||
|
|
||||||
// 如果没有实现多租户方式,则无需查询
|
// 如果没有实现多租户方式,则无需查询
|
||||||
if (!typeof(IPrivateMultiTenant).IsAssignableFrom(GetType())) return defaultConnection;
|
if (!typeof(IPrivateMultiTenant).IsAssignableFrom(GetType())) return defaultConnection;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user