diff --git a/Src/Asp.Net/PgSqlTest/Demo/Demo2_Updateable.cs b/Src/Asp.Net/PgSqlTest/Demo/Demo2_Updateable.cs index aa1528aa6..087baf174 100644 --- a/Src/Asp.Net/PgSqlTest/Demo/Demo2_Updateable.cs +++ b/Src/Asp.Net/PgSqlTest/Demo/Demo2_Updateable.cs @@ -101,6 +101,11 @@ namespace OrmTest //Use Lock db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand(); + db.Updateable() + .AS("Order") + .SetColumns("name", 1) + .Where("id=1").ExecuteCommand(); + //Where Sql //db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();