SpatialEdmFunctions.GeographyCollectionFromBinary Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyCollectionFromBinary med de angivna argumenten. geographyCollectionWellKnownBinaryValue måste ha en binär resultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är Edm.Geography.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyCollectionFromBinary(System::Data::Common::CommandTrees::DbExpression ^ geographyCollectionWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyCollectionFromBinary(System.Data.Common.CommandTrees.DbExpression geographyCollectionWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyCollectionFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyCollectionFromBinary (geographyCollectionWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametrar

geographyCollectionWellKnownBinaryValue
DbExpression

Ett uttryck som ger den välkända binära representationen av geografisamlingsvärdet.

coordinateSystemId
DbExpression

Ett uttryck som tillhandahåller koordinatsystem-ID (SRID) för geografisamlingsvärdets koordinatsystem.

Returer

En ny DbFunctionExpression som returnerar ett nytt geografisamlingsvärde baserat på de angivna värdena.

Undantag

geographyCollectionWellKnownBinaryValue coordinateSystemId

geographyCollectionWellKnownBinaryValue coordinateSystemId

Gäller för