SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a canonical "GeometryPointFromText" függvényt a megadott argumentumokkal. pointWellKnownText sztring eredménytípussal kell rendelkeznie, míg coordinateSystemId egész szám típusúnak kell lennie. A kifejezés eredménytípusa Edm.Geometry.

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

Paraméterek

pointWellKnownText
DbExpression

A geometriai pont értékének jól ismert szöveges ábrázolását biztosító kifejezés.

coordinateSystemId
DbExpression

A geometriapont-érték koordinátarendszerének koordinátarendszer-azonosítóját (SRID) biztosító kifejezés.

Válaszok

Új DbFunctionExpression, amely egy új geometriai pontértéket ad vissza a megadott értékek alapján.

Kivételek

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

A következőre érvényes: