Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
2dca1b923d
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindProvider.cs

@ -140,7 +140,7 @@ namespace SqlSugar
public virtual string GetPropertyTypeName(string dbTypeName) public virtual string GetPropertyTypeName(string dbTypeName)
{ {
dbTypeName = dbTypeName.ToLower(); dbTypeName = dbTypeName.ToLower();
var propertyTypes = MappingTypes.Where(it => it.Key == dbTypeName); var propertyTypes = MappingTypes.Where(it => it.Key.Equals(dbTypeName,StringComparison.CurrentCultureIgnoreCase));
if (dbTypeName == "int32") if (dbTypeName == "int32")
{ {
return "int"; return "int";

Loading…
Cancel
Save