SpatialEdmFunctions.GeographyLineFromBinary Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyLineFromBinary med de angivna argumenten. lineWellKnownBinaryValue 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 ^ GeographyLineFromBinary(System::Data::Common::CommandTrees::DbExpression ^ lineWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyLineFromBinary(System.Data.Common.CommandTrees.DbExpression lineWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyLineFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyLineFromBinary (lineWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametrar

lineWellKnownBinaryValue
DbExpression

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

coordinateSystemId
DbExpression

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

Returer

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

Undantag

lineWellKnownBinaryValue coordinateSystemId

lineWellKnownBinaryValue coordinateSystemId

Gäller för