mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Add demo
This commit is contained in:
parent
4cf3658c22
commit
b46b1d24ea
@ -44,6 +44,8 @@ namespace OrmTest
|
||||
//logic delete
|
||||
db.CodeFirst.InitTables<LogicDeleteTezt>();
|
||||
db.Deleteable<LogicDeleteTezt>().Where(it=>it.Name=="a").IsLogic().ExecuteCommand();
|
||||
|
||||
db.Deleteable<Order>().WhereColumns(db.Queryable<Order>().Take(2).ToList(), it => new { it.Id, it.Name }).ExecuteCommand();
|
||||
Console.WriteLine("#### Deleteable End ####");
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user