Skip to main content

SqlGeometryDataAdapter Members

A data adapter that loads data from a SQL geometry data source and displays it on vector layers.

Constructors

Name Description
SqlGeometryDataAdapter() Initializes a new instance of the SqlGeometryDataAdapter class with default settings.

Fields

Name Description
ClustererProperty static Identifies the MapDataAdapterBase.Clusterer dependency property. Inherited from MapDataAdapterBase.
CommandTimeoutProperty static Identifies the CommandTimeout dependency property.
ConnectionStringProperty static Identifies the SqlGeometryDataAdapter.ConnectionString dependency property.
SourceCoordinateSystemProperty static Identifies the CoordinateSystemDataAdapterBase.SourceCoordinateSystem dependency property. Inherited from CoordinateSystemDataAdapterBase.
SpatialDataMemberProperty static Identifies the SqlGeometryDataAdapter.SpatialDataMember dependency property.
SqlTextProperty static Identifies the SqlGeometryDataAdapter.SqlText dependency property.

Properties

Name Description
Clusterer Gets or sets the clusterer that aggregates map items. Inherited from MapDataAdapterBase.
CommandTimeout Gets or sets the wait time (in seconds) before the attempt to load data is terminated and an error occurs.
ConnectionString Gets or sets the connection string to a SQL database.
DisplayItems Returns map items which are displayed by a map control. Inherited from MapDataAdapterBase.
SourceCoordinateSystem Gets or sets the coordinate system of a data adapter. Inherited from CoordinateSystemDataAdapterBase.
SpatialDataMember Gets or sets the name of a spatial data member.
SqlText Gets or sets the SQL query that will be used to select data from a SQL database.

Methods

Name Description
GetItemBySourceObject(Object) Gets a map item by the source object. Inherited from MapDataAdapterBase.
GetItemSourceObject(MapItem) Returns the source object of the specified map item. Inherited from SqlGeometryDataAdapterBase.
LoadData() Loads data from the specified data source. Inherited from MapDataAdapterBase.
OnClustered() Called after the clusterization is finished. Inherited from MapDataAdapterBase.
OnViewportUpdated(MapViewport) Called every time the viewport is changed. Inherited from MapDataAdapterBase.

Events

Name Description
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
See Also