mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Add unit test
This commit is contained in:
@@ -55,6 +55,14 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
||||
db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings()
|
||||
{
|
||||
IsAutoDeleteQueryFilter = true,
|
||||
IsAutoUpdateQueryFilter = true
|
||||
};
|
||||
db.QueryFilter.AddTableFilter<LogicTest>(it => it.isdeleted == true);
|
||||
db.Deleteable<LogicTest>().Where(it => it.Id == 1).IsLogic().ExecuteCommand();
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
|
Reference in New Issue
Block a user