Browse Source

Update InstanceFactory

pull/33/head
sunkaixuan 2 years ago
parent
commit
08c054f177
  1. 4
      Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

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

@ -280,6 +280,10 @@ 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 &&
GetCustomTypeByClass("SqlSugar." + currentConnectionConfig.DbType + "." + currentConnectionConfig.DbType + "Provider") != null;
}

Loading…
Cancel
Save