Insert support pure Dictionary

This commit is contained in:
sunkaixuan
2018-04-08 15:34:57 +08:00
parent 20156140c0
commit ff8820108c
2 changed files with 51 additions and 15 deletions

View File

@@ -59,6 +59,11 @@ namespace OrmTest.Demo
var t12 = db.Insertable(insertObj).IgnoreColumns(it => it == "Name" || it == "TestId").ExecuteReturnIdentityAsync();
t12.Wait();
var dt = new Dictionary<string, object>();
dt.Add("name", "1");
var t66 = db.Insertable(dt).AS("student").ExecuteReturnEntity();
}
}
}