//--------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner willa // @backupOwner srimand //--------------------------------------------------------------------- namespace System.Data.Spatial { /// /// A provider-independent service API for geospatial (Geometry/Geography) type support. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")] public abstract class DbSpatialDataReader { /// /// When implemented in derived types, reads an instance of from the column at the specified column ordinal. /// /// The ordinal of the column that contains the geography value /// The instance of DbGeography at the specified column value public abstract DbGeography GetGeography(int ordinal); /// /// When implemented in derived types, reads an instance of from the column at the specified column ordinal. /// /// The ordinal of the data record column that contains the provider-specific geometry data /// The instance of DbGeometry at the specified column value public abstract DbGeometry GetGeometry(int ordinal); } }