SpatialEdmFunctions.GeographyPointFromBinary Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a "GeographyPointFromBinary" függvényt a megadott argumentumokkal.
pointWellKnownBinaryValue 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 ^ 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
Paraméterek
- pointWellKnownBinaryValue
- DbExpression
A földrajzi pont értékének jól ismert bináris ábrázolását biztosító kifejezés.
- coordinateSystemId
- DbExpression
Olyan kifejezés, amely a földrajzi pont értékének koordinátarendszer-azonosítóját (SRID) adja meg a systempointWellKnownBinaryValue koordinátájának.
Válaszok
Új DbFunctionExpression, amely a megadott értékek alapján ad vissza egy új földrajzi pontértéket.
Kivételek
pointWellKnownBinaryValue
coordinateSystemId
pointWellKnownBinaryValue
coordinateSystemId