diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs b/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs index 785d862dc..e8d130294 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs @@ -49,7 +49,7 @@ namespace OrmTest Ver = ver.Ver }) .UpdateColumns(z => z.Name).ExecuteCommandWithOptLock(); - if (data4 != 0) { throw new Exception("unit error"); } + if (data4 != 1) { throw new Exception("unit error"); } } public class ULockEntity