mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
Add unit test
This commit is contained in:
@@ -34,6 +34,11 @@ namespace OrmTest
|
||||
ID = a.Id,
|
||||
真实名称 = !string.IsNullOrEmpty(a.Name) ? a.Name : a.Name
|
||||
}).ToList();
|
||||
db.Queryable<Order>().Select(x => new
|
||||
{
|
||||
// c=SqlFunc.Subqueryable<Order>().Where(z=>z.Id==x.Id).Count(),
|
||||
x1 = !string.IsNullOrEmpty(x.Name)
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
public class Unitadfaint21
|
||||
|
||||
Reference in New Issue
Block a user