EdmFunctions.StartsWith(DbExpression, DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "StartsWith" z określonymi argumentami, które muszą mieć typ wyniku ciągu. Typ wyniku wyrażenia to wartość logiczna.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ StartsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ prefix);
public static System.Data.Common.CommandTrees.DbFunctionExpression StartsWith (this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression prefix);
static member StartsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function StartsWith (stringArgument As DbExpression, prefix As DbExpression) As DbFunctionExpression

Parametry

stringArgument
DbExpression

Wyrażenie określające ciąg, który jest wyszukiwany na początku ciągu prefix.

prefix
DbExpression

Wyrażenie określające ciąg docelowy, który jest wyszukiwany na początku .stringArgument

Zwraca

Nowa wartość DbFunctionExpression, która zwraca wartość logiczną wskazującą, czy stringArgument zaczyna się od prefix.

Dotyczy