This commit is contained in:
sunkaixuan
2017-05-28 10:01:58 +08:00
parent 1f4cf51b79
commit 5d6601f811
24 changed files with 68 additions and 120 deletions

View File

@@ -71,7 +71,7 @@ namespace OrmTest.UnitTest
public SqlSugarClient GetInstance()
{
SqlSugarClient db = new SqlSugarClient(new SystemTableConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer });
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer });
db.Ado.IsEnableLogEvent = true;
db.Ado.LogEventStarting = (sql, pars) =>
{