EdmFunctions.Left(DbExpression, DbExpression) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto DbFunctionExpression che richiama la funzione 'Left' 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 ^ Left(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ length);
public static System.Data.Common.CommandTrees.DbFunctionExpression Left(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression length);
static member Left : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Left (stringArgument As DbExpression, length As DbExpression) As DbFunctionExpression
Parametri
- stringArgument
- DbExpression
Espressione che specifica la stringa da cui estrarre la sottostringa più a sinistra.
- length
- DbExpression
Espressione che specifica la lunghezza della sottostringa più a sinistra da estrarre da stringArgument.
Valori restituiti
Nuovo DbFunctionExpression che restituisce la sottostringa più a sinistra di lunghezza length da stringArgument.
Eccezioni
stringArgument o length è null.
stringArgument non è valido.