DbSpatialServices.CreateGeography(DbSpatialServices, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is intended for use by derived implementations of GeographyFromProviderValue(Object) after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation.
protected:
static System::Data::Spatial::DbGeography ^ CreateGeography(System::Data::Spatial::DbSpatialServices ^ spatialServices, System::Object ^ providerValue);
protected static System.Data.Spatial.DbGeography CreateGeography (System.Data.Spatial.DbSpatialServices spatialServices, object providerValue);
static member CreateGeography : System.Data.Spatial.DbSpatialServices * obj -> System.Data.Spatial.DbGeography
Protected Shared Function CreateGeography (spatialServices As DbSpatialServices, providerValue As Object) As DbGeography
Parameters
- spatialServices
- DbSpatialServices
The spatial services instance that the returned DbGeography value will depend on for its implementation of spatial functionality.
- providerValue
- Object
The provider value.
Returns
A new DbGeography instance that contains the specified providerValue
and uses the specified spatialServices
as its spatial implementation.
Exceptions
spatialServices
providerValue