public int Update(GpkgGeometryColumn gpkgGeometryColumn) { return(Update(new object[] { gpkgGeometryColumn.TableName, gpkgGeometryColumn.ColumnName, gpkgGeometryColumn.GeometryTypeName, gpkgGeometryColumn.SrsId, gpkgGeometryColumn.Z, gpkgGeometryColumn.M })); }
public void Add(GpkgGeometryColumn gpkgGeometryColumn) { Add(new object[] { gpkgGeometryColumn.TableName, gpkgGeometryColumn.ColumnName, gpkgGeometryColumn.GeometryTypeName, gpkgGeometryColumn.SrsId, gpkgGeometryColumn.Z, gpkgGeometryColumn.M }); }
private static GpkgGeometryColumn ReadObject(IDataRecord reader) { var gpkgGeometryColumn = new GpkgGeometryColumn(); gpkgGeometryColumn.TableName = reader["table_name"].FromDbString(); gpkgGeometryColumn.ColumnName = reader["column_name"].FromDbString(); gpkgGeometryColumn.GeometryTypeName = reader["geometry_type_name"].FromDbString(); gpkgGeometryColumn.SrsId = (int)reader["srs_id"].ToInt32(); gpkgGeometryColumn.Z = (Int16)reader["z"].ToInt16(); gpkgGeometryColumn.M = (Int16)reader["m"].ToInt16(); return(gpkgGeometryColumn); }