mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update db.Storageable
This commit is contained in:
@@ -70,6 +70,10 @@ namespace SqlSugar
|
||||
|
||||
public StorageableResult<T> ToStorage()
|
||||
{
|
||||
if (whereFuncs == null || whereFuncs.Count == 0)
|
||||
{
|
||||
return this.Saveable().ToStorage();
|
||||
}
|
||||
if (this.allDatas.Count == 0)
|
||||
return new StorageableResult<T>() {
|
||||
AsDeleteable = this.Context.Deleteable<T>().AS(asname).Where(it => false),
|
||||
|
Reference in New Issue
Block a user