EdmFunctions.Length(DbExpression) Metodo

Definizione

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Length(this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument);
static member Length : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Length (stringArgument As DbExpression) As DbFunctionExpression

Parametri

stringArgument
DbExpression

Espressione che specifica la stringa per la quale è necessario calcolare la lunghezza.

Restituisce

Nuovo oggetto DbFunctionExpression che restituisce la lunghezza di stringArgument.

Si applica a