Update demo

This commit is contained in:
skx 2021-02-04 22:38:28 +08:00
parent 168a46db5d
commit 47499cd9f1
7 changed files with 7 additions and 7 deletions

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}

View File

@ -98,7 +98,7 @@ namespace OrmTest
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
//db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
Console.WriteLine("#### Updateable End ####");
}