EdmFunctions.Max(DbExpression) Yöntem

Tanım

Belirtilen koleksiyon üzerinde kurallı 'Max' işlevini çağıran bir DbFunctionExpression oluşturur. İfadenin sonuç türü, koleksiyonun öğe türüyle aynıdır.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Max(System::Data::Common::CommandTrees::DbExpression ^ collection);
public static System.Data.Common.CommandTrees.DbFunctionExpression Max (this System.Data.Common.CommandTrees.DbExpression collection);
static member Max : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Max (collection As DbExpression) As DbFunctionExpression

Parametreler

collection
DbExpression

En büyük değerin alınması gereken koleksiyonu belirten bir ifade.

Döndürülenler

En yüksek değeri üreten yeni bir DbFunctionExpression.

Özel durumlar

collection, null değeridir.

collection geçersizdir.

Şunlara uygulanır