SpatialEdmFunctions.GeographyLineFromBinary Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a "GeographyLineFromBinary" függvényt a megadott argumentumokkal. lineWellKnownBinaryValue bináris eredménytípussal kell rendelkeznie, míg coordinateSystemId egész szám típusúnak kell lennie. A kifejezés eredménytípusa: 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

Paraméterek

lineWellKnownBinaryValue
DbExpression

A földrajzi sor értékének jól ismert bináris ábrázolását biztosító kifejezés.

coordinateSystemId
DbExpression

Egy kifejezés, amely a földrajzi sor értékének koordináta-rendszerének koordinátarendszer-azonosítóját (SRID) adja meg.

Válaszok

Új DbFunctionExpression, amely a megadott értékek alapján ad vissza egy új földrajzi sorértéket.

Kivételek

lineWellKnownBinaryValue coordinateSystemId

lineWellKnownBinaryValue coordinateSystemId

A következőre érvényes: