語言

DbSpatialServices.CreateGeometry(DbSpatialServices, Object) 方法

定義

此方法旨在用於導出實作 GeometryFromProviderValue(Object) ,在適當驗證指定提供者值後,以確保該值適合用於衍生實作。

protected static System.Data.Entity.Spatial.DbGeometry CreateGeometry(System.Data.Entity.Spatial.DbSpatialServices spatialServices, object providerValue);
static member CreateGeometry : System.Data.Entity.Spatial.DbSpatialServices * obj -> System.Data.Entity.Spatial.DbGeometry
Protected Shared Function CreateGeometry (spatialServices As DbSpatialServices, providerValue As Object) As DbGeometry

參數

spatialServices
DbSpatialServices

回傳 DbGeometry 值將依賴於該空間服務實例來實作空間功能。

providerValue
Object

提供者價值。

傳回

一個包含 DbGeometry 指定 providerValue 並使用指定空間服務作為空間實作的新實例。

適用於