Update demo

This commit is contained in:
sunkaixuan
2019-06-04 20:01:28 +08:00
parent 76d4dfef87
commit 4ea9b897e2
32 changed files with 70 additions and 173 deletions

View File

@@ -16,7 +16,7 @@ namespace OrmTest
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
{
DbType = DbType.SqlServer,
DbType = DbType.Oracle,
ConnectionString = Config.ConnectionString,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
@@ -78,8 +78,8 @@ namespace OrmTest
var dtList = new List<Dictionary<string, object>>();
dtList.Add(dt);
var t66 = db.Updateable(dt).AS("[Order]").WhereColumns("id").ExecuteCommand();
var t666 = db.Updateable(dtList).AS("[Order]").WhereColumns("id").ExecuteCommand();
var t66 = db.Updateable(dt).AS("Order").WhereColumns("id").ExecuteCommand();
var t666 = db.Updateable(dtList).AS("Order").WhereColumns("id").ExecuteCommand();