Condividi tramite


SpatialEdmFunctions.GeometryPolygonFromText Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'GeometryPolygonFromText' canonica con gli argomenti specificati. polygonWellKnownText deve avere un tipo di risultato stringa, mentre coordinateSystemId deve avere un tipo di risultato numerico intero. Il tipo di risultato dell'espressione è Edm.Geometry.

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

Parametri

polygonWellKnownText
DbExpression

Espressione che fornisce la rappresentazione di testo nota del valore del poligono geometrico.

coordinateSystemId
DbExpression

Espressione che rappresenta l'ID del sistema di coordinate (SRID) del sistema di coordinate del valore del poligono geometrico.

Restituisce

Nuovo DbFunctionExpression che restituisce un nuovo valore del poligono geometrico basato sui valori specificati.

Eccezioni

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

Si applica a