EdmFunctions.EndsWith(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 EndsWith se zadanými argumenty, které musí mít typ výsledku řetězce. Typ výsledku výrazu je logická hodnota.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ EndsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ suffix);
public static System.Data.Common.CommandTrees.DbFunctionExpression EndsWith(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression
Parametry
- stringArgument
- DbExpression
Výraz, který určuje řetězec, který je prohledán na konci řetězce suffix.
- suffix
- DbExpression
Výraz, který určuje cílový řetězec, který je vyhledán na konci stringArgument.
Návraty
Nový DbFunctionExpression, který vrátí logickou hodnotu označující, zda nebo ne stringArgument končí na suffix.