EdmFunctions.Contains(DbExpression, DbExpression) Yöntem

Tanım

Belirtilen bağımsız değişkenlerle kurallı 'Contains' işlevini çağıran ve DbFunctionExpression her birinin bir dize sonuç türüne sahip olması gereken bir oluşturur. İfadenin sonuç türü Boole değeridir.

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

Parametreler

searchedString
DbExpression

herhangi bir örneğini searchedForStringaramak için dizeyi belirten ifade.

searchedForString
DbExpression

içinde searchedStringaranacak dizeyi belirten ifade.

Döndürülenler

içinde searchedForStringolup olmadığını searchedString belirten bir Boole değeri döndüren yeni bir DbFunctionExpression.

Özel durumlar

searchedString veya searchedForString şeklindedir null.

searchedString veya searchedForString geçersiz.

Şunlara uygulanır