From 09792c951887775cdeffe636d8daac230cc4062e Mon Sep 17 00:00:00 2001 From: FunCoder Date: Thu, 17 Apr 2025 18:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0geography=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=EF=BC=8CGiST=20=E7=B4=A2=E5=BC=95=E5=9C=A8=E8=AF=A5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=B8=8A=E4=B8=93=E9=97=A8=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E7=90=83=E9=9D=A2=E5=87=A0=E4=BD=95=E8=AE=A1=E7=AE=97=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E9=AB=98=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Asp.NetCore2/SqlSugar.HG/HG/DbBind/PostgreSQLDbBind.cs | 1 + .../TDSQLForPG/DbBind/TDSQLForPGODBCDbBind.cs | 1 + .../SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs | 2 ++ .../SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs | 1 + 4 files changed, 5 insertions(+) diff --git a/Src/Asp.NetCore2/SqlSugar.HG/HG/DbBind/PostgreSQLDbBind.cs b/Src/Asp.NetCore2/SqlSugar.HG/HG/DbBind/PostgreSQLDbBind.cs index 53282db56..0942a230a 100644 --- a/Src/Asp.NetCore2/SqlSugar.HG/HG/DbBind/PostgreSQLDbBind.cs +++ b/Src/Asp.NetCore2/SqlSugar.HG/HG/DbBind/PostgreSQLDbBind.cs @@ -140,6 +140,7 @@ namespace SqlSugar.HG new KeyValuePair("varbit",CSharpDataType.@byte), new KeyValuePair("time",CSharpDataType.TimeSpan), new KeyValuePair("public.geometry",CSharpDataType.@object), + new KeyValuePair("public.geography",CSharpDataType.@object), new KeyValuePair("inet",CSharpDataType.@object) }; public override List StringThrow diff --git a/Src/Asp.NetCore2/SqlSugar.TDSQLForPGODBC/TDSQLForPG/DbBind/TDSQLForPGODBCDbBind.cs b/Src/Asp.NetCore2/SqlSugar.TDSQLForPGODBC/TDSQLForPG/DbBind/TDSQLForPGODBCDbBind.cs index 37272a18f..6c655487d 100644 --- a/Src/Asp.NetCore2/SqlSugar.TDSQLForPGODBC/TDSQLForPG/DbBind/TDSQLForPGODBCDbBind.cs +++ b/Src/Asp.NetCore2/SqlSugar.TDSQLForPGODBC/TDSQLForPG/DbBind/TDSQLForPGODBCDbBind.cs @@ -145,6 +145,7 @@ namespace SqlSugar.TDSQLForPGODBC new KeyValuePair("varbit",CSharpDataType.@byte), new KeyValuePair("time",CSharpDataType.TimeSpan), new KeyValuePair("public.geometry",CSharpDataType.@object), + new KeyValuePair("public.geography",CSharpDataType.@object), new KeyValuePair("inet",CSharpDataType.@object) }; public override List StringThrow diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs index 7fa69da8e..c3b427513 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs @@ -148,6 +148,8 @@ namespace SqlSugar new KeyValuePair("geometry",CSharpDataType.@object), new KeyValuePair("public.geometry",CSharpDataType.@object), + new KeyValuePair("geography",CSharpDataType.@object), + new KeyValuePair("public.geography",CSharpDataType.@object), }; public override List StringThrow { diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs b/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs index 25dc14127..afed95a6c 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs @@ -165,6 +165,7 @@ namespace SqlSugar new KeyValuePair("varbit",CSharpDataType.@byte), new KeyValuePair("time",CSharpDataType.TimeSpan), new KeyValuePair("public.geometry",CSharpDataType.@object), + new KeyValuePair("public.geography",CSharpDataType.@object), new KeyValuePair("inet",CSharpDataType.@object), new KeyValuePair("number",CSharpDataType.@int),