|
@ -17,7 +17,9 @@ namespace OrmTest |
|
|
db.Queryable<Order>() |
|
|
db.Queryable<Order>() |
|
|
.Where(it => it.Id==SqlFunc.Subqueryable<Order>().Where(z=>z.Id==it.Id).GroupBy(z=>z.Id).Select(x=>x.Id) ) |
|
|
.Where(it => it.Id==SqlFunc.Subqueryable<Order>().Where(z=>z.Id==it.Id).GroupBy(z=>z.Id).Select(x=>x.Id) ) |
|
|
.ToList(); |
|
|
.ToList(); |
|
|
|
|
|
db.Queryable<Order>() |
|
|
|
|
|
.Where(it => it.Id != SqlFunc.Subqueryable<Order>().Where(z => z.Id == it.Id).GroupBy(z => z.Id).Select(x => x.Id)) |
|
|
|
|
|
.ToList(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|