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);
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.0.9.1</version>
|
||||
<version>5.0.9.2-preview04</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
@@ -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