EdmFunctions.Var(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression die de canonieke functie Var aanroept voor de niet-null-leden van de opgegeven verzameling. Het resultaattype van de expressie is 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

Parameters

collection
DbExpression

Een expressie die de verzameling aangeeft waarvoor de statistische variantie moet worden berekend.

Retouren

Een nieuwe DbFunctionExpression die de statistische variantiewaarde produceert voor de niet-null-leden van de verzameling.

Uitzonderingen

collection is null.

collection is ongeldig.

Van toepassing op