mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 12:47:57 +08:00
4.5.2.1
This commit is contained in:
parent
fef5049e24
commit
00c64dd9f3
@ -28,9 +28,9 @@ namespace SqlSugar
|
||||
public int ExecuteCommand()
|
||||
{
|
||||
PreToSql();
|
||||
Check.Exception(UpdateBuilder.WhereValues.IsNullOrEmpty() && GetPrimaryKeys().IsNullOrEmpty(), "You cannot have no primary key and no conditions");
|
||||
string sql = UpdateBuilder.ToSqlString();
|
||||
RestoreMapping();
|
||||
Check.Exception(UpdateBuilder.WhereValues.IsNullOrEmpty() && GetPrimaryKeys().IsNullOrEmpty(), "You cannot have no primary key and no conditions");
|
||||
return this.Ado.ExecuteCommand(sql, UpdateBuilder.Parameters == null ? null : UpdateBuilder.Parameters.ToArray());
|
||||
}
|
||||
public Task<int> ExecuteCommandAsync()
|
||||
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("4.5.2.0")]
|
||||
[assembly: AssemblyFileVersion("4.5.2.0")]
|
||||
[assembly: AssemblyVersion("4.5.2.1")]
|
||||
[assembly: AssemblyFileVersion("4.5.2.1")]
|
||||
|
Loading…
Reference in New Issue
Block a user