EdmFunctions.Right(DbExpression, DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
Entity Framework