mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update demo
This commit is contained in:
parent
6436e4e9e4
commit
e2184a671b
@ -98,7 +98,7 @@ namespace OrmTest
|
|||||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||||
|
|
||||||
//Where Sql
|
//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 ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ namespace OrmTest
|
|||||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||||
|
|
||||||
//Where Sql
|
//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 ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ namespace OrmTest
|
|||||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||||
|
|
||||||
//Where Sql
|
//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 ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,7 @@ namespace OrmTest
|
|||||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||||
|
|
||||||
//Where Sql
|
//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 ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ namespace OrmTest
|
|||||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||||
|
|
||||||
//Where Sql
|
//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 ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user