From 2f01d2f82715aa637f496551de4c62750da9281f Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 24 Jul 2022 17:06:22 +0800 Subject: [PATCH] Code optimization --- Src/Asp.Net/SqlSugar/Interface/IUpdateable.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Interface/IUpdateable.cs b/Src/Asp.Net/SqlSugar/Interface/IUpdateable.cs index 705956169..7f717dfeb 100644 --- a/Src/Asp.Net/SqlSugar/Interface/IUpdateable.cs +++ b/Src/Asp.Net/SqlSugar/Interface/IUpdateable.cs @@ -12,8 +12,8 @@ namespace SqlSugar UpdateBuilder UpdateBuilder { get; set; } bool UpdateParameterIsNull { get; set; } - int ExecuteCommandWithOptLock(bool IsVersionValidation = false); - Task ExecuteCommandWithOptLockAsync(bool IsVersionValidation = false); + int ExecuteCommandWithOptLock(bool isThrowError = false); + Task ExecuteCommandWithOptLockAsync(bool isThrowError = false); int ExecuteCommand(); bool ExecuteCommandHasChange(); Task ExecuteCommandAsync();