mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 01:47:06 +08:00
Update TranLock
This commit is contained in:
parent
93c50433e5
commit
6d7ecfd0e3
@ -397,11 +397,11 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (LockType == DbLockType.Wait)
|
if (LockType == DbLockType.Wait)
|
||||||
{
|
{
|
||||||
this.With("UpdLock,RowLock");
|
this.With("WITH(UpdLock,RowLock)");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.With("UpdLock,RowLock,NoWait");
|
this.With("WITH(UpdLock,RowLock,NoWait)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user