Browse Source

Update exp to sql

pull/12/head
sunkaixuna 3 years ago
parent
commit
483f75ee65
  1. 5
      Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/UnitTest/UQueryable.cs

5
Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/UnitTest/UQueryable.cs

@ -117,6 +117,11 @@ namespace OrmTest
{ {
a =it.a==true?true:false a =it.a==true?true:false
}).ToList(); }).ToList();
var blist7 = Db.Queryable<BoolTest3>().Select(it => new BoolTest3()
{
a = SqlFunc.Subqueryable<Order>().Any()
}).ToList();
var db = Db; var db = Db;
db.CodeFirst.InitTables<UserInfo, UserIpRuleInfo>(); db.CodeFirst.InitTables<UserInfo, UserIpRuleInfo>();
db.Deleteable<UserInfo>().ExecuteCommand(); db.Deleteable<UserInfo>().ExecuteCommand();

Loading…
Cancel
Save