mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add unit test
This commit is contained in:
parent
4b3bbcdbb3
commit
4a678a7231
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user