mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 13:03:43 +08:00
update SqlMiddle
This commit is contained in:
@@ -199,6 +199,14 @@ namespace OrmTest
|
||||
|
||||
},2,10,ref count,5);
|
||||
var test33= db.Queryable<Order>().ToList();
|
||||
db.CurrentConnectionConfig.SqlMiddle = new SqlMiddle
|
||||
{
|
||||
IsSqlMiddle=true,
|
||||
ExecuteCommand = (s, p)=>{ return s.Length; }
|
||||
|
||||
};
|
||||
var five=db.Ado.ExecuteCommand("11111");
|
||||
db.CurrentConnectionConfig.SqlMiddle = null;
|
||||
Console.WriteLine("#### Examples End ####");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user