Sdílet prostřednictvím


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.Entity.Core.Common.CommandTrees.DbFunctionExpression GeometryCollectionFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryCollectionWellKnownText, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryCollectionFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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 kolekce geometrie.

Návraty

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

Platí pro