EdmCoreModel.GetSpatial 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.
Overloads
GetSpatial(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean) |
Gets a reference to a spatial primitive type definition. |
GetSpatial(EdmPrimitiveTypeKind, Boolean) |
Gets a reference to a spatial primitive type definition. |
GetSpatial(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean)
Gets a reference to a spatial primitive type definition.
public Microsoft.OData.Edm.IEdmSpatialTypeReference GetSpatial (Microsoft.OData.Edm.EdmPrimitiveTypeKind kind, int? spatialReferenceIdentifier, bool isNullable);
member this.GetSpatial : Microsoft.OData.Edm.EdmPrimitiveTypeKind * Nullable<int> * bool -> Microsoft.OData.Edm.IEdmSpatialTypeReference
Public Function GetSpatial (kind As EdmPrimitiveTypeKind, spatialReferenceIdentifier As Nullable(Of Integer), isNullable As Boolean) As IEdmSpatialTypeReference
Parameters
- kind
- EdmPrimitiveTypeKind
Primitive kind of the type reference being created.
Spatial Reference Identifier for the spatial type being created.
- isNullable
- Boolean
Flag specifying if the referenced type should be nullable.
Returns
A new spatial type reference.
Applies to
GetSpatial(EdmPrimitiveTypeKind, Boolean)
Gets a reference to a spatial primitive type definition.
public Microsoft.OData.Edm.IEdmSpatialTypeReference GetSpatial (Microsoft.OData.Edm.EdmPrimitiveTypeKind kind, bool isNullable);
member this.GetSpatial : Microsoft.OData.Edm.EdmPrimitiveTypeKind * bool -> Microsoft.OData.Edm.IEdmSpatialTypeReference
Public Function GetSpatial (kind As EdmPrimitiveTypeKind, isNullable As Boolean) As IEdmSpatialTypeReference
Parameters
- kind
- EdmPrimitiveTypeKind
Primitive kind of the type reference being created.
- isNullable
- Boolean
Flag specifying if the referenced type should be nullable.
Returns
A new spatial type reference.