用法和PGSQL一样 ,唯一区别 在连接字符串 后面加上
No Reset On Close=true
var db=new SqlSugarClient(new ConnectionConfig() { DbType = SqlSugar.DbType.PostgreSQL,//选用PGSQL驱动 ConnectionString = Config.ConnectionString, InitKeyType = InitKeyType.Attribute, IsAutoCloseConnection = true });
2016 © donet5.comApache Licence 2.0