SpatialEdmFunctions.GeographyPointFromBinary Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyPointFromBinary med de angivna argumenten. pointWellKnownBinaryValue 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 ^ 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

Parametrar

pointWellKnownBinaryValue
DbExpression

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

coordinateSystemId
DbExpression

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

Returer

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

Undantag

pointWellKnownBinaryValue coordinateSystemId

pointWellKnownBinaryValue coordinateSystemId

Gäller för