This commit is contained in:
sunkaixuan
2023-03-24 17:55:45 +08:00
parent 653b6e7ca8
commit 3203d925a0

View File

@@ -46,6 +46,13 @@ namespace OrmTest
var getByFuns2 = db.Queryable<Order>().GroupBy(it => it.Name).Select(it => SqlFunc.AggregateDistinctCount(it.Price)).ToList();
var opp = "";
db.Queryable<Order>().Where(it => it.Name== opp.Substring(0,it.Name.Length)).ToList();
db.Queryable<Order>()
.Select(it => new {
yyy = SqlFunc.Subqueryable<Order>().LeftJoin<Order>((x, y) => x.Id == y.Id).GroupBy((x, y) => new {
x.Id,
y.Name
}).Any()
}).ToList();
Console.WriteLine("#### Examples End ####");
}