mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update Core 5.0.4.9
This commit is contained in:
parent
e709579243
commit
cdf16ae917
@ -30,11 +30,11 @@ namespace SqlSugar
|
||||
List<SugarParameter> pars;
|
||||
string where;
|
||||
LogicFieldName = _ExecuteCommand(LogicFieldName, out db, out where, out pars);
|
||||
var updateable = db.Updateable<T>().SetColumns(LogicFieldName, "@IsDeleted");
|
||||
var updateable = db.Updateable<T>().SetColumns(LogicFieldName, true);
|
||||
if (pars != null)
|
||||
updateable.UpdateBuilder.Parameters.AddRange(pars);
|
||||
Convert(updateable as UpdateableProvider<T>);
|
||||
var result =await updateable.Where(where, new { IsDeleted = true }).ExecuteCommandAsync();
|
||||
var result =await updateable.Where(where).ExecuteCommandAsync();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<Version>5.0.4.8</Version>
|
||||
<Version>5.0.4.9</Version>
|
||||
<Copyright>sun_kai_xuan</Copyright>
|
||||
<PackageProjectUrl>https://github.com/sunkaixuan/SqlSugar</PackageProjectUrl>
|
||||
<PackageLicenseUrl></PackageLicenseUrl>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.0.4.8</version>
|
||||
<version>5.0.4.9</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>Landa</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCoreNoDrive</id>
|
||||
<version>5.0.4.8</version>
|
||||
<version>5.0.4.9</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>Landa</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user