SpatialEdmFunctions.GeometryCollectionFromText Metoda

Definice

Vytvoří, DbFunctionExpression který vyvolá kanonický 'GeometryCollectionFromText' funkce se zadanými argumenty. geometryCollectionWellKnownText musí mít typ výsledku řetězce, zatímco coordinateSystemId musí mít celočíselný číselný typ výsledku. Typ výsledku výrazu je Edm.Geometry.

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

Parametry

geometryCollectionWellKnownText
DbExpression

Výraz, který poskytuje dobře známou textovou reprezentaci hodnoty kolekce geometrie.

coordinateSystemId
DbExpression

Výraz, který poskytuje ID souřadnicového systému (SRID) souřadnicového systému hodnoty kolekce geometrie.

Návraty

Nový DbFunctionExpression, který vrátí novou hodnotu kolekce geometrie na základě zadaných hodnot.

Výjimky

geometryCollectionWellKnownText coordinateSystemId

geometryCollectionWellKnownText coordinateSystemId

Platí pro