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:
@@ -302,6 +302,16 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
||||
var xxx5 = db.Queryable<Tree1>()
|
||||
.Includes(it => it.Child)
|
||||
.OrderByDescending(x => x.Id)
|
||||
.ToList(it => new
|
||||
{
|
||||
it.Name,name=it.Child.Select(z=>z.Id).ToList(),
|
||||
name2=it.Child.Select(z => z.Id)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public class UnitA001
|
||||
|
||||
Reference in New Issue
Block a user