DbFunctions.Var Method
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.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() ![]() | 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<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<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<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<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<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<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. |
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<decimal> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Decimal>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<double> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Double>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<int> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Int32>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<long> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Int64>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<Nullable<decimal>> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Nullable<Decimal>>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Nullable<double> Var( IEnumerable<Nullable<double>> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Nullable<Double>>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[DbFunctionAttribute("Edm", "Var")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Nullable<double> Var( IEnumerable<Nullable<int>> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Nullable<Int32>>
The collection over which to perform the calculation.
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.
DbFunctions.Var Method (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [DbFunctionAttribute("Edm", "Var")] public static Nullable<double> Var( IEnumerable<Nullable<long>> collection )
Parameters
- collection
-
Type:
System.Collections.Generic.IEnumerable<Nullable<Int64>>
The collection over which to perform the calculation.
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.