SpatialEdmFunctions.GeographyPointFromBinary Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie GeographyPointFromBinary aanroept met de opgegeven argumenten. pointWellKnownBinaryValue 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 ^ GeographyPointFromBinary(System::Data::Common::CommandTrees::DbExpression ^ pointWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPointFromBinary(System.Data.Common.CommandTrees.DbExpression pointWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPointFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPointFromBinary (pointWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parameters

pointWellKnownBinaryValue
DbExpression

Een expressie die de bekende binaire weergave van de waarde van het geografiepunt biedt.

coordinateSystemId
DbExpression

Een expressie die de coördinaatsysteem-id (SRID) van de coördinaatsysteempuntwaarde van de coördinaatpuntwaarde geeft.

Retouren

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

Uitzonderingen

pointWellKnownBinaryValue coordinateSystemId

pointWellKnownBinaryValue coordinateSystemId

Van toepassing op