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ří 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:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Right(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ length);
public static System.Data.Common.CommandTrees.DbFunctionExpression Right(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression length);
static member Right : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.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ězce úplně vpravo.
- length
- DbExpression
Výraz, který určuje délku podřetětěce nejvíce vpravo extrahovat z stringArgument.
Návraty
Nový DbFunctionExpression, který vrátí nejvíce vpravo podřetězí délku length z stringArgument.
Výjimky
stringArgument nebo length je null.
stringArgument je neplatný.