mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 03:09:34 +08:00
Insert support pure Dictionary
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user