You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.CommandText="select count(1) from information_schema.columns WHERE table_schema = 'public' and table_name = 'test_geometry_ddl' and column_name = 'geom';";
cmd.CommandText="select count(1) from information_schema.columns WHERE table_schema = 'public' and table_name = 'test_geometry_ddl' and column_name = 'geom';";
cmd.CommandText="select count(1) from information_schema.columns WHERE table_schema = 'public' and table_name = 'test_geometry_ddl' and column_name = 'geom';";
/// Adds a geometry column to an existing table of attributes.If you require the old behavior of constraints use the default use_typmod, but set useTypMod to false
16
+
/// </summary>
17
+
/// <remarks>
18
+
/// See https://postgis.net/docs/manual-3.0/AddGeometryColumn.html
/// Adds a geometry column to an existing table of attributes.If you require the old behavior of constraints use the default use_typmod, but set useTypMod to false
35
+
/// </summary>
36
+
/// <remarks>
37
+
/// See https://postgis.net/docs/manual-3.0/AddGeometryColumn.html
/// Adds a geometry column to an existing table of attributes.If you require the old behavior of constraints use the default use_typmod, but set useTypMod to false
55
+
/// </summary>
56
+
/// <remarks>
57
+
/// See https://postgis.net/docs/manual-3.0/AddGeometryColumn.html
/// Removes a geometry column from a spatial table. Schema_name will need to match the f_table_schema field of the table's row in the geometry_columns table
76
+
/// </summary>
77
+
/// <remarks>
78
+
/// See https://postgis.net/docs/manual-3.0/DropGeometryColumn.html
79
+
/// </remarks>
80
+
/// <param name="tableName">Table name</param>
81
+
/// <param name="columnName">Column name</param>
82
+
/// <returns>Information about dropped column</returns>
/// Removes a geometry column from a spatial table. Schema_name will need to match the f_table_schema field of the table's row in the geometry_columns table
91
+
/// </summary>
92
+
/// <remarks>
93
+
/// See https://postgis.net/docs/manual-3.0/DropGeometryColumn.html
94
+
/// </remarks>
95
+
/// <param name="schemaName">Schema name</param>
96
+
/// <param name="tableName">Table name</param>
97
+
/// <param name="columnName">Column name</param>
98
+
/// <returns>Information about dropped column</returns>
/// Removes a geometry column from a spatial table. Schema_name will need to match the f_table_schema field of the table's row in the geometry_columns table
107
+
/// </summary>
108
+
/// <remarks>
109
+
/// See https://postgis.net/docs/manual-3.0/DropGeometryColumn.html
publicstaticstringDropGeometryTable(stringcatalogName,stringschemaName,stringtableName)//returning bool will get error
163
+
{
164
+
thrownewInvalidOperationException();
165
+
}
166
+
167
+
/// <summary>
168
+
/// Returns the integer SRID of the specified geometry column by searching through the GEOMETRY_COLUMNS table. If the geometry column has not been properly added (e.g. with the AddGeometryColumn function), this function will not work
169
+
/// </summary>
170
+
/// <remarks>
171
+
/// See https://postgis.net/docs/manual-3.0/Find_SRID.html
172
+
/// </remarks>
173
+
/// <param name="schemaName">Schema name</param>
174
+
/// <param name="tableName">Table name</param>
175
+
/// <param name="geomFieldName">Geometry field name</param>
176
+
/// <returns>The integer SRID of the specified geometry column</returns>
0 commit comments