SpatialEdmFunctions.GeometryLineFromBinary(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryLineFromBinary 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.Geometry.

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

Parametrar

lineWellKnownBinaryValue
DbExpression

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

coordinateSystemId
DbExpression

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

Returer

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

Undantag

lineWellKnownBinaryValue coordinateSystemId

lineWellKnownBinaryValue coordinateSystemId

Gäller för