SpatialEdmFunctions.GeographyCollectionFromBinary Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie GeographyCollectionFromBinary aanroept met de opgegeven argumenten. geographyCollectionWellKnownBinaryValue moet een binair resultaattype hebben, maar coordinateSystemId moet een numeriek resultaattype geheel getal hebben. Het resultaattype van de expressie is 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

Parameters

geographyCollectionWellKnownBinaryValue
DbExpression

Een expressie die de bekende binaire weergave van de waarde van de geografieverzameling biedt.

coordinateSystemId
DbExpression

Een expressie die de coördinaatsysteem-id (SRID) van het coördinaatsysteem van de geografieverzamelingswaarde levert.

Retouren

Een nieuwe DbFunctionExpression die een nieuwe geografieverzamelingswaarde retourneert op basis van de opgegeven waarden.

Uitzonderingen

geographyCollectionWellKnownBinaryValue coordinateSystemId

geographyCollectionWellKnownBinaryValue coordinateSystemId

Van toepassing op