Update TranLock

This commit is contained in:
sunkaixuan 2022-05-23 17:01:56 +08:00
parent 93c50433e5
commit 6d7ecfd0e3

View File

@ -397,11 +397,11 @@ namespace SqlSugar
{
if (LockType == DbLockType.Wait)
{
this.With("UpdLock,RowLock");
this.With("WITH(UpdLock,RowLock)");
}
else
{
this.With("UpdLock,RowLock,NoWait");
this.With("WITH(UpdLock,RowLock,NoWait)");
}
}
else