|
|
@ -23,7 +23,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() ? mappings.First().Key : "varchar"; |
|
|
|
} |
|
|
|
public override List<KeyValuePair<string, CSharpDataType>> MappingTypes |
|
|
|
{ |
|
|
|