mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-08-05 23:52:26 +08:00
- 完善 InsertDict 等字典操作功能;
This commit is contained in:
@ -772,7 +772,7 @@ SELECT ");
|
||||
}
|
||||
|
||||
public int ExecuteAffrows() => _insertProvider.ExecuteAffrows();
|
||||
public long ExecuteIdentity() => _insertProvider.ExecuteAffrows();
|
||||
public long ExecuteIdentity() => _insertProvider.ExecuteIdentity();
|
||||
public List<Dictionary<string, object>> ExecuteInserted() => _insertProvider.ExecuteInserted();
|
||||
|
||||
#if net40
|
||||
|
@ -1507,7 +1507,7 @@ namespace FreeSql.Internal
|
||||
), new[] { typeExp, indexesExp, rowExp, dataIndexExp, commonUtilExp }).Compile();
|
||||
}
|
||||
|
||||
if (type == typeof(object) && indexes != null)
|
||||
if (type == typeof(object) && indexes != null || type == typeof(Dictionary<string, object>))
|
||||
{
|
||||
Func<Type, int[], DbDataReader, int, CommonUtils, RowInfo> dynamicFunc = (type2, indexes2, row2, dataindex2, commonUtils2) =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user