EdmFunctions.Var(DbExpression) Metódus

Definíció

Létrehoz egy olyan fájlt DbFunctionExpression , amely meghívja a "Var" függvényt a megadott gyűjtemény nem null értékű tagjai felett. A kifejezés eredménytípusa Edm.Double.

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

Paraméterek

collection
DbExpression

Egy kifejezés, amely meghatározza azt a gyűjteményt, amelyhez a statisztikai varianciát ki kell számítani.

Válaszok

Egy új DbFunctionExpression, amely a gyűjtemény nem null értékű tagjainak statisztikai varianciáját állítja elő.

Kivételek

collection az null.

collection érvénytelen.

A következőre érvényes: