SpatialEdmFunctions.GeometryCollectionFromText Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'GeometryCollectionFromText' canonica con gli argomenti specificati. geometryCollectionWellKnownText deve avere un tipo di risultato stringa, mentre coordinateSystemId deve avere un tipo di risultato numerico integer. Il tipo di risultato dell'espressione è 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

Parametri

geometryCollectionWellKnownText
DbExpression

Espressione che fornisce la rappresentazione di testo nota del valore della raccolta geometry.

coordinateSystemId
DbExpression

Espressione che fornisce l'ID del sistema di coordinate (SRID) del sistema di coordinate del valore della raccolta geometry.

Valori restituiti

Nuovo dbFunctionExpression che restituisce un nuovo valore della raccolta geometry in base ai valori specificati.

Eccezioni

geometryCollectionWellKnownText coordinateSystemId

geometryCollectionWellKnownText coordinateSystemId

Si applica a