mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-16 16:50:41 +08:00
-
This commit is contained in:
parent
3a7fcf7150
commit
5cf7a41772
@ -14,7 +14,7 @@ namespace OrmTest.Demo
|
|||||||
db.Ado.IsEnableLogEvent = true;
|
db.Ado.IsEnableLogEvent = true;
|
||||||
db.Ado.LogEventStarting = (sql, pars) =>
|
db.Ado.LogEventStarting = (sql, pars) =>
|
||||||
{
|
{
|
||||||
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
|
Console.WriteLine(sql + "\r\n" + pars);
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
};
|
};
|
||||||
return db;
|
return db;
|
||||||
|
@ -14,7 +14,7 @@ namespace OrmTest.Demo
|
|||||||
db.Ado.IsEnableLogEvent = true;
|
db.Ado.IsEnableLogEvent = true;
|
||||||
db.Ado.LogEventStarting = (sql, pars) =>
|
db.Ado.LogEventStarting = (sql, pars) =>
|
||||||
{
|
{
|
||||||
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
|
Console.WriteLine(sql + "\r\n" + pars);
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
};
|
};
|
||||||
return db;
|
return db;
|
||||||
|
@ -14,7 +14,7 @@ namespace OrmTest.Demo
|
|||||||
db.Ado.IsEnableLogEvent = true;
|
db.Ado.IsEnableLogEvent = true;
|
||||||
db.Ado.LogEventStarting = (sql, pars) =>
|
db.Ado.LogEventStarting = (sql, pars) =>
|
||||||
{
|
{
|
||||||
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
|
Console.WriteLine(sql + "\r\n" + pars);
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
};
|
};
|
||||||
return db;
|
return db;
|
||||||
|
Loading…
Reference in New Issue
Block a user