mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Add db.DeleteableWithAttr
This commit is contained in:
@@ -1300,6 +1300,10 @@ namespace SqlSugar
|
||||
{
|
||||
return this.GetConnectionWithAttr<T>().Deleteable(deleteObject);
|
||||
}
|
||||
public IDeleteable<T> DeleteableWithAttr<T>() where T : class, new()
|
||||
{
|
||||
return this.GetConnectionWithAttr<T>().Deleteable<T>();
|
||||
}
|
||||
public IDeleteable<T> DeleteableWithAttr<T>(List<T> deleteObjects) where T : class, new()
|
||||
{
|
||||
return this.GetConnectionWithAttr<T>().Deleteable(deleteObjects);
|
||||
|
@@ -725,6 +725,10 @@ namespace SqlSugar
|
||||
{
|
||||
return ScopedContext.DeleteableWithAttr<T>(deleteObj);
|
||||
}
|
||||
public IDeleteable<T> DeleteableWithAttr<T>() where T : class, new()
|
||||
{
|
||||
return ScopedContext.DeleteableWithAttr<T>();
|
||||
}
|
||||
public IDeleteable<T> DeleteableWithAttr<T>(List<T> deleteObjs) where T : class, new()
|
||||
{
|
||||
return ScopedContext.DeleteableWithAttr<T>(deleteObjs);
|
||||
|
Reference in New Issue
Block a user