SpatialEdmFunctions.IsValidGeometry(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'IsValidGeometry' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geometry. Il tipo di risultato dell'espressione è Edm.Boolean.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsValidGeometry(System::Data::Common::CommandTrees::DbExpression ^ geometryValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsValidGeometry(this System.Data.Common.CommandTrees.DbExpression geometryValue);
static member IsValidGeometry : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsValidGeometry (geometryValue As DbExpression) As DbFunctionExpression

Parametri

geometryValue
DbExpression

Espressione che specifica il valore geometry che deve essere testato per la validità spaziale.

Valori restituiti

Nuovo dbFunctionExpression che restituisce un valore booleano che indica se geometryValue è valido.

Eccezioni

geometryValue

geometryValue

Si applica a