Share via


EdmFunctions.Var(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Var (this System.Data.Entity.Core.Common.CommandTrees.DbExpression collection);
static member Var : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Var (collection As DbExpression) As DbFunctionExpression

Parameters

collection
DbExpression

An expression that specifies the collection for which the statistical variance should be computed.

Returns

A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection.

Applies to