Browse Source

Add unit test

pull/19/head
sunkaixuan 2 years ago
parent
commit
793cc9e396
  1. 4
      Src/Asp.Net/SqlServerTest/UnitTest/UCustom017.cs

4
Src/Asp.Net/SqlServerTest/UnitTest/UCustom017.cs

@ -17,7 +17,9 @@ namespace OrmTest
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();
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();
}
}

Loading…
Cancel
Save