Share via


EntityFunctions.Var Method

Definition

Overloads

Var(IEnumerable<Nullable<Int64>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Nullable<Int32>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Nullable<Double>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Nullable<Decimal>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Double>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Int32>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Decimal>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Int64>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

Var(IEnumerable<Nullable<Int64>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<Nullable<long>> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Int32>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<Nullable<int>> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Double>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<Nullable<double>> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Nullable<Decimal>>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<Nullable<decimal>> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Double>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<double> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Int32>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<int> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Decimal>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<decimal> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

Var(IEnumerable<Int64>)

When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate the variance of the collection.

[System.Data.Entity.DbFunction("Edm", "Var")]
public static Nullable<double> Var (System.Collections.Generic.IEnumerable<long> collection);
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 collection over which to perform the calculation.

Returns

The variance.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to