Sdílet prostřednictvím


EdmFunctions.Right(DbExpression, DbExpression) Metoda

Definice

Vytvoří funkci DbFunctionExpression , která vyvolá kanonickou funkci Right se zadanými argumenty, které musí mít řetězec a celočíselný typ výsledku. Typ výsledku výrazu je řetězec.

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

Parametry

stringArgument
DbExpression

Výraz, který určuje řetězec, ze kterého se má extrahovat podřetězc nejvíce vpravo.

length
DbExpression

Výraz, který určuje délku podřetězce nejvíce vpravo extrahovat z stringArgument.

Návraty

Nový DbFunctionExpression, který vrací nejvíce vpravo podřetězce délky délky z stringArgument.

Platí pro