mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update .net
This commit is contained in:
@@ -63,6 +63,10 @@ namespace SqlSugar
|
||||
{
|
||||
MemberAssignment memberAssignment = (MemberAssignment)memInit.Bindings[0];
|
||||
tree.Expression = memberAssignment.Expression;
|
||||
if (memInit.Bindings.Count > 1)
|
||||
{
|
||||
tree.Childs = GetSubInsertTree(((MemberAssignment)memInit.Bindings[1]).Expression);
|
||||
}
|
||||
}
|
||||
resul.Add(tree);
|
||||
}
|
||||
|
||||
@@ -113,6 +113,9 @@ namespace SqlSugar
|
||||
{
|
||||
sqlParameter.NpgsqlDbType = ArrayMapping[type] | NpgsqlDbType.Array;
|
||||
}
|
||||
else if (type==DBNull.Value.GetType())
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
Check.Exception(true, sqlParameter.Value.GetType().Name + " No Support");
|
||||
|
||||
Reference in New Issue
Block a user