mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Support enum
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OrmTest.UnitTest
|
||||
var x2 = GetInstance();
|
||||
}
|
||||
|
||||
public SqlSugarClient GetInstance()
|
||||
public new SqlSugarClient GetInstance()
|
||||
{
|
||||
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() {InitKeyType=InitKeyType.Attribute, ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, IsAutoCloseConnection = true });
|
||||
return db;
|
||||
|
Reference in New Issue
Block a user