|
|
@ -25,7 +25,7 @@ namespace SqlSugar |
|
|
|
if (csharpTypeName == "DateTimeOffset") |
|
|
|
csharpTypeName = "DateTime"; |
|
|
|
var mappings = this.MappingTypes.Where(it => it.Value.ToString().Equals(csharpTypeName, StringComparison.CurrentCultureIgnoreCase)); |
|
|
|
return mappings.HasValue() ? mappings.First().Key : "varchar"; |
|
|
|
return (mappings?.Any()==true) ? mappings.First().Key : "varchar"; |
|
|
|
} |
|
|
|
public override List<KeyValuePair<string, CSharpDataType>> MappingTypes |
|
|
|
{ |
|
|
|