Update Demo

This commit is contained in:
sunkaixuan
2019-05-20 17:20:36 +08:00
parent 7d10f24683
commit 5f56076b05
4 changed files with 107 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ using System.Threading.Tasks;
using SqlSugar;
namespace OrmTest
{
public class Demo1_SqlSugarClient
public class Demo0_SqlSugarClient
{
public static void Init()
@@ -35,6 +35,7 @@ namespace OrmTest
OnLogExecuting = (sql, p) =>
{
Console.WriteLine(sql);
Console.WriteLine(string.Join(",", p?.Select(it => it.ParameterName + ":" + it.Value)));
}
}
});