Browse Source

4.5.9.2

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
36aeb875e9
  1. 4
      Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs
  2. 4
      Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs

4
Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs

@ -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))

4
Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.5.9.1")]
[assembly: AssemblyFileVersion("4.5.9.1")]
[assembly: AssemblyVersion("4.5.9.2")]
[assembly: AssemblyFileVersion("4.5.9.2")]

Loading…
Cancel
Save