|
|
@ -114,9 +114,9 @@ namespace SqlSugar |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if (readerValues.ContainsKey(name)) |
|
|
|
if (readerValues.Any(it => it.Key.Equals(name, StringComparison.CurrentCultureIgnoreCase))) |
|
|
|
{ |
|
|
|
var addValue = readerValues[name]; |
|
|
|
var addValue = readerValues.ContainsKey(name) ? readerValues[name] : readerValues[name.ToUpper()]; |
|
|
|
if (addValue == DBNull.Value) |
|
|
|
{ |
|
|
|
if (item.PropertyType.IsIn(UtilConstants.IntType, UtilConstants.DecType, UtilConstants.DobType, UtilConstants.ByteType)) |
|
|
|