This commit is contained in:
sunkaixuan 2022-12-26 15:47:06 +08:00
parent e1e160efcc
commit 836cec0dbd

View File

@ -69,7 +69,7 @@ namespace OrmTest {
{ {
var db = new SqlSugarScope(new SqlSugar.ConnectionConfig() var db = new SqlSugarScope(new SqlSugar.ConnectionConfig()
{ {
ConnectionString = "PORT=5432;DATABASE=SqlSugar4xTest;HOST=localhost;PASSWORD=haosql;USER ID=postgres", ConnectionString =Config.ConnectionString2,
DbType = SqlSugar.DbType.PostgreSQL, DbType = SqlSugar.DbType.PostgreSQL,
IsAutoCloseConnection = true IsAutoCloseConnection = true
}); });