Class DatabaseQueryDataSourceBuilder

DatabaseQueryDataSourceBuilder class

Provides the ability to configure a query to database to to extract geospatial information.

public class DatabaseQueryDataSourceBuilder

Methods

NameDescription
AddAttribute(string, AttributeDataType)Configures the name of the field that will contain information for the feature attribute.
AddAttribute(string, AttributeDataType, DbType)Configures the name of the field that will contain information for the feature attribute.
AsTrackableForChanges(string, string, bool, string)Configure the resulting layer to track changes and create a data source to synchronize the changes made.
Build()The method retrieves an implementation of the IDatabaseDataSource
GeometryField(string)Configures the name of the field from which the geometry will be extracted.
SridField(string)Configuring the name of the query field that will contain the spatial reference system identifier (srid).
UseExternalSrsFromQuery(string)Allows you to configure the data source to use third-party spatial reference system data, bypassing the pre-installed data in the Aspose.GIS library.

See Also