mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-21 18:48:27 +08:00
Add unit test
This commit is contained in:
@@ -67,6 +67,14 @@ namespace OrmTest
|
||||
.Where(exp.ToExpression())
|
||||
.Select(s => s.Name)
|
||||
}).ToList();
|
||||
|
||||
var list2 = db.Queryable<Order>().Take(10).Select(it => new
|
||||
{
|
||||
customName2 = SqlFunc.Subqueryable<Custom>()
|
||||
.AS("CUSTOM".ToString())
|
||||
.Where(exp.ToExpression())
|
||||
.Select(s => s.Name)
|
||||
}).ToList();
|
||||
//Console.WriteLine("用例跑完");
|
||||
//Console.ReadKey();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user