DbFunctions.StandardDeviationP, méthode (IEnumerable<Nullable<Int64>>)
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Lorsqu'elle est utilisée dans le cadre d'une requête LINQ to Entities, cette méthode appelle la fonction EDM canonique StDevP pour calculer l'écart type du remplissage.
Espace de noms : System.Data.Entity
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
<DbFunctionAttribute("Edm", "StDevP")> _
Public Shared Function StandardDeviationP ( _
collection As IEnumerable(Of Nullable(Of Long)) _
) As Nullable(Of Double)
'Utilisation
Dim collection As IEnumerable(Of Nullable(Of Long))
Dim returnValue As Nullable(Of Double)
returnValue = DbFunctions.StandardDeviationP(collection)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[DbFunctionAttribute("Edm", "StDevP")]
public static Nullable<double> StandardDeviationP(
IEnumerable<Nullable<long>> collection
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
[DbFunctionAttribute(L"Edm", L"StDevP")]
public:
static Nullable<double> StandardDeviationP(
IEnumerable<Nullable<long long>>^ collection
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
[<DbFunctionAttribute("Edm", "StDevP")>]
static member StandardDeviationP :
collection:IEnumerable<Nullable<int64>> -> Nullable<float>
public static function StandardDeviationP(
collection : IEnumerable<Nullable<long>>
) : Nullable<double>
Paramètres
- collection
Type : System.Collections.Generic.IEnumerable<Nullable<Int64>>
Collection sur laquelle effectuer le calcul.
Valeur de retour
Type : System.Nullable<Double>
Écart type de remplissage.
Notes
Vous ne pouvez pas appeler directement cette fonction. Cette fonction peut s'afficher uniquement dans une requête LINQ to Entities. Cette fonction est traduite en une fonction correspondante dans la base de données.