EntityFunctions.Left(String, Nullable<Int64>) Méthode

Définition

Appelle la fonction canonique Left. Pour plus d’informations sur la fonction canonique Left, consultez Fonctions de chaînes canoniques.

public:
 static System::String ^ Left(System::String ^ stringArgument, Nullable<long> length);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Left")]
public static string Left (string stringArgument, long? length);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Left")>]
static member Left : string * Nullable<int64> -> string
Public Shared Function Left (stringArgument As String, length As Nullable(Of Long)) As String

Paramètres

stringArgument
String

Expression de chaîne valide.

length
Nullable<Int64>

Nombre de caractères à renvoyer.

Retours

Nombre de caractères length le plus à gauche de stringArgument.

Attributs

Remarques

Vous ne pouvez pas appeler cette fonction directement. Cette fonction ne peut apparaître que dans une requête LINQ to Entities.

Cette fonction est traduite en fonction correspondante dans la base de données.

S’applique à