Browse Source

Synchronization code

pull/33/head
sunkaixuan 2 years ago
parent
commit
361a20a0bc
  1. 1
      Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs
  2. 5
      Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs

1
Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

@ -284,6 +284,7 @@ namespace SqlSugar
currentConnectionConfig.DbType != DbType.PostgreSQL &&
currentConnectionConfig.DbType != DbType.ClickHouse &&
currentConnectionConfig.DbType != DbType.GBase &&
currentConnectionConfig.DbType != DbType.Sqlite &&
GetCustomTypeByClass("SqlSugar." + currentConnectionConfig.DbType + "." + currentConnectionConfig.DbType + "Provider") != null;
}

5
Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs

@ -280,6 +280,11 @@ namespace SqlSugar
currentConnectionConfig.DbType != DbType.Access &&
currentConnectionConfig.DbType != DbType.QuestDB &&
currentConnectionConfig.DbType != DbType.MySql &&
currentConnectionConfig.DbType != DbType.Oracle &&
currentConnectionConfig.DbType != DbType.PostgreSQL &&
currentConnectionConfig.DbType != DbType.ClickHouse &&
currentConnectionConfig.DbType != DbType.GBase &&
currentConnectionConfig.DbType != DbType.Sqlite &&
GetCustomTypeByClass("SqlSugar." + currentConnectionConfig.DbType + "." + currentConnectionConfig.DbType + "Provider") != null;
}

Loading…
Cancel
Save