Share via


EdmFunctions.EndsWith(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione "EndsWith" canonica con gli argomenti specificati, ognuno dei quali deve presentare un tipo di risultato String. Il tipo di risultato dell'espressione è Boolean.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ EndsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ suffix);
public static System.Data.Common.CommandTrees.DbFunctionExpression EndsWith (this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression

Parametri

stringArgument
DbExpression

Espressione che specifica la stringa ricercata alla fine per la stringa suffix.

suffix
DbExpression

Espressione che specifica la stringa di destinazione ricercata alla fine di stringArgument.

Restituisce

Nuovo dbFunctionExpression che restituisce un valore booleano che indica se termina o meno stringArgument con suffix.

Si applica a