Browse Source

Update TranLock

pull/19/head
sunkaixuan 3 years ago
parent
commit
05abdbbf35
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

4
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -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

Loading…
Cancel
Save