Support OpenGauss

This commit is contained in:
sunkaixuan
2022-06-17 13:31:50 +08:00
parent 08685852b2
commit b92fa32ddc
2 changed files with 5 additions and 1 deletions

View File

@@ -381,6 +381,9 @@ namespace SqlSugar
case DbType.PostgreSQL:
DependencyManagement.TryPostgreSQL();
break;
case DbType.OpenGauss:
Check.ExceptionEasy("Use DbType.PostgreSQL , ConnectionString add No Reset On Close=true", "OpenGausso数据库可以使用DbType.PostgreSQL 并且连接字符串加上 No Reset On Close=true");
break;
case DbType.Kdbndp:
DependencyManagement.TryKdbndb();
break;

View File

@@ -17,6 +17,7 @@ namespace SqlSugar
Oscar,
MySqlConnector,
Access,
Custom=900
OpenGauss,
Custom =900
}
}