mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Add demo
This commit is contained in:
parent
3d92a6273e
commit
e35b565ee6
@ -62,6 +62,8 @@ namespace OrmTest
|
|||||||
.GroupBy(z => z.Id)
|
.GroupBy(z => z.Id)
|
||||||
.Select(z => z.Id)
|
.Select(z => z.Id)
|
||||||
).ToListAsync().GetAwaiter().GetResult();
|
).ToListAsync().GetAwaiter().GetResult();
|
||||||
|
List<(int id, string name)> list2=db.Queryable<Order>().Select<(int id, string name)>("id,name")
|
||||||
|
.ToList();
|
||||||
Console.WriteLine("#### Examples End ####");
|
Console.WriteLine("#### Examples End ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user