src/Shared/EntityFramework/Core/Objects/EntityFunctions.cs
/// <summary>
/// When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate
/// the variance for the population.
/// </summary>
/// <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.
/// </remarks>
/// <param name="collection"> The collection over which to perform the calculation. </param>
/// <returns> The variance for the population. </returns>
When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate
the variance for the population.
When used as part of a LINQ to Entities query this method invokes the canonical VarP EDM function to calculate the variance for the population .
[DbFunction("Edm", "VarP")]
        public static double? VarP(IEnumerable<double> collection)
        {
            return DbFunctions.VarP(collection);
        }
[ DbFunction ( " " , " " ) ] public static double ? VarP ( IEnumerable < double > collection ) { return DbFunctions . VarP ( collection ) ; }
When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate
the variance for the population.
When used as part of a LINQ to Entities query this method invokes the canonical VarP EDM function to calculate the variance for the population .
The variance for the population.
The variance for the population .
collection
IEnumerable<double>
The collection over which to perform the calculation.
The collection over which to perform the calculation .
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.
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 .