EdmFunctions.Right(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione canonica "Right" con l'argomento specificato, che deve avere una stringa e un numero intero come tipo di risultato. Il tipo di risultato dell'espressione è stringa.

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

Parametri

stringArgument
DbExpression

Espressione che specifica la stringa da cui estrarre la sottostringa più a destra.

length
DbExpression

Espressione che specifica la lunghezza della sottostringa più a destra da estrarre da stringArgument.

Restituisce

Nuovo DbFunctionExpression che restituisce la sottostringa più a destra di lunghezza length da stringArgument.

Eccezioni

stringArgument o length è null.

stringArgument non è valido.

Si applica a