Sdílet prostřednictvím


EdmFunctions.Length(DbExpression) Metoda

Definice

Vytvoří funkci DbFunctionExpression , která vyvolá kanonickou funkci Length se zadaným argumentem, který musí mít typ výsledku řetězce. Typ výsledku výrazu je 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

Parametry

stringArgument
DbExpression

Výraz, který určuje řetězec, pro který se má vypočítat délka.

Návraty

Nový DbFunctionExpression, který vrací délku stringArgument.

Platí pro