This commit is contained in:
sunkaixuan 2023-06-13 17:35:16 +08:00
parent 3d92a6273e
commit e35b565ee6

View File

@ -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 ####");
} }