DbSpatialDataReader Class

Definition

A provider-independent service API for geospatial (Geometry/Geography) type support.

public abstract class DbSpatialDataReader
type DbSpatialDataReader = class
Public MustInherit Class DbSpatialDataReader
Inheritance
DbSpatialDataReader

Constructors

DbSpatialDataReader()

Methods

GetGeography(Int32)

When implemented in derived types, reads an instance of DbGeography from the column at the specified column ordinal.

GetGeographyAsync(Int32, CancellationToken)

Asynchronously reads an instance of DbGeography from the column at the specified column ordinal.

GetGeometry(Int32)

When implemented in derived types, reads an instance of DbGeometry from the column at the specified column ordinal.

GetGeometryAsync(Int32, CancellationToken)

Asynchronously reads an instance of DbGeometry from the column at the specified column ordinal.

IsGeographyColumn(Int32)

Returns whether the column at the specified column ordinal is of geography type

IsGeometryColumn(Int32)

Returns whether the column at the specified column ordinal is of geometry type

Applies to