diff --git a/Src/Asp.Net/SqlServerTest/Demos/2_Update.cs b/Src/Asp.Net/SqlServerTest/Demos/2_Update.cs index 7908d9def..e3fa99368 100644 --- a/Src/Asp.Net/SqlServerTest/Demos/2_Update.cs +++ b/Src/Asp.Net/SqlServerTest/Demos/2_Update.cs @@ -82,6 +82,17 @@ namespace OrmTest.Demo dt.Add("name", null); dt.Add("createTime", DateTime.Now); var t66 = db.Updateable(dt).AS("student").WhereColumns("id").With(SqlWith.UpdLock).ExecuteCommand(); + + + + var dt2 = new Dictionary(); + dt2.Add("id", 2); + dt2.Add("name", null); + dt2.Add("createTime", DateTime.Now); + var dtList = new List>(); + dtList.Add(dt); + dtList.Add(dt2); + var t666 = db.Updateable(dtList).AS("student").WhereColumns("id").With(SqlWith.UpdLock).ExecuteCommand(); } } }