EdmFunctions.Right(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'Right' canonica con gli argomenti specificati, che devono avere un tipo di risultato numerico stringa e integer. Il tipo di risultato dell'espressione è string.

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.

Valori restituiti

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