Condividi tramite


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 static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression EndsWith (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression

Parametri

stringArgument
DbExpression

Espressione che specifica la stringa cercata alla fine del suffisso stringa.

suffix
DbExpression

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

Restituisce

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

Si applica a