EntityFunctions.Var Method

Definition

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Overloads

Var(IEnumerable<Int64>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Nullable<Int64>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Nullable<Int32>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Nullable<Double>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Double>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Int32>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Decimal>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Var(IEnumerable<Nullable<Decimal>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

Remarks

This function is translated to a corresponding function in the database.

Var(IEnumerable<Int64>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<long> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<long> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<int64> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Long)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Int64>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Int64>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<Nullable<long>> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<long?> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<Nullable<int64>> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Nullable(Of Long))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Int64>>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Int32>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<Nullable<int>> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<int?> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<Nullable<int>> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Nullable(Of Integer))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Int32>>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Double>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<Nullable<double>> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<double?> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<Nullable<double>> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Nullable(Of Double))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Double>>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Double>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<double> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<double> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<double> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Double)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Double>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Int32>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<int> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<int> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<int> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Integer)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Int32>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Decimal>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<System::Decimal> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<decimal> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<decimal> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Decimal)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Decimal>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Decimal>>)

Invokes the canonical Var function. For information about the canonical Var function, see Canonical Functions.

public:
 static Nullable<double> Var(System::Collections::Generic::IEnumerable<Nullable<System::Decimal>> ^ collection);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")]
public static double? Var (System.Collections.Generic.IEnumerable<decimal?> collection);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Var")>]
static member Var : seq<Nullable<decimal>> -> Nullable<double>
Public Shared Function Var (collection As IEnumerable(Of Nullable(Of Decimal))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Decimal>>

The set of values for which the variance will be calculated.

Returns

The statistical variance of all values in the specified collection.

Attributes

Remarks

This function is translated to a corresponding function in the database.

Applies to