This commit is contained in:
sunkaixuan
2023-07-12 17:34:22 +08:00
parent 1c3b081bcf
commit c81ac9b305
2 changed files with 9 additions and 0 deletions

View File

@@ -60,6 +60,10 @@ namespace OrmTest
db.DeleteableByObject(o).ExecuteCommandAsync().GetAwaiter().GetResult();
object os = db.Queryable<Order>().Take(2).ToList();
db.DeleteableByObject(os).ExecuteCommand();
db.Deleteable<Custom>()
.AS("order")
.Where(it =>SqlFunc.Subqueryable<Custom>().AS("order").Where(s=>s.Id==it.Id).NotAny() ).ExecuteCommand();
Console.WriteLine("#### Deleteable End ####");
}