Update SqlSugar

This commit is contained in:
sunkaixuan
2019-05-05 12:44:43 +08:00
parent 707c611e78
commit 579d5e5766
17 changed files with 193 additions and 74 deletions

View File

@@ -130,7 +130,7 @@ namespace OrmTest.UnitTest
{
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer });
db.Ado.IsEnableLogEvent = true;
db.Ado.LogEventStarting = (sql, pars) =>
db.LogEventStarting = (sql, pars) =>
{
Console.WriteLine(sql + " " + pars);
};