EdmFunctions.EndsWith(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'EndsWith' canonica con gli argomenti specificati, ognuno dei quali deve avere un tipo di risultato stringa. 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 in cui viene eseguita la ricerca alla fine della stringa suffix.

suffix
DbExpression

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

Valori restituiti

Nuovo DbFunctionExpression che restituisce un valore booleano che indica se stringArgument termina con suffix.

Si applica a