mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update Demo
This commit is contained in:
@@ -9,7 +9,7 @@ namespace PerformanceTest
|
||||
public class Config
|
||||
{
|
||||
public static string connectionString = "server=.;uid=sa;pwd=sasa;database=SqlSugarTest";
|
||||
public static ConnectionConfig SugarConfig =new ConnectionConfig() { InitKeyType = InitKeyType.SystemTable, ConnectionString = Config.connectionString, DbType = DbType.SqlServer };
|
||||
public static ConnectionConfig SugarConfig =new ConnectionConfig() { IsAutoCloseConnection=true,InitKeyType = InitKeyType.SystemTable, ConnectionString = Config.connectionString, DbType = DbType.SqlServer };
|
||||
public static SqlSugarClient GetSugarConn()
|
||||
{
|
||||
return new SqlSugarClient(SugarConfig);
|
||||
|
Reference in New Issue
Block a user