mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update pgsql
This commit is contained in:
parent
7940dbae11
commit
cc3091391f
@ -20,7 +20,7 @@ namespace SqlSugar
|
|||||||
if (csharpTypeName.ToLower().IsIn("boolean", "bool"))
|
if (csharpTypeName.ToLower().IsIn("boolean", "bool"))
|
||||||
csharpTypeName = "bool";
|
csharpTypeName = "bool";
|
||||||
if (csharpTypeName == "DateTimeOffset")
|
if (csharpTypeName == "DateTimeOffset")
|
||||||
csharpTypeName = "DateTime";
|
return "timestamptz";
|
||||||
var mappings = this.MappingTypes.Where(it => it.Value.ToString().Equals(csharpTypeName, StringComparison.CurrentCultureIgnoreCase)).ToList();
|
var mappings = this.MappingTypes.Where(it => it.Value.ToString().Equals(csharpTypeName, StringComparison.CurrentCultureIgnoreCase)).ToList();
|
||||||
if (mappings != null && mappings.Count > 0)
|
if (mappings != null && mappings.Count > 0)
|
||||||
return mappings.First().Key;
|
return mappings.First().Key;
|
||||||
|
Loading…
Reference in New Issue
Block a user