Редагувати

Поділитися через


EdmFunctions.StDev(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ StDev(System::Data::Common::CommandTrees::DbExpression ^ collection);
public static System.Data.Common.CommandTrees.DbFunctionExpression StDev (this System.Data.Common.CommandTrees.DbExpression collection);
static member StDev : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function StDev (collection As DbExpression) As DbFunctionExpression

Parameters

collection
DbExpression

An expression that specifies the collection for which the standard deviation should be computed.

Returns

A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection.

Exceptions

collection is null.

collection is invalid.

Applies to