EdmFunctions.Var(DbExpression) Método

Definição

Cria um DbFunctionExpression que invoca a função 'Var' canônica nos membros não nulos da coleção especificada.Creates a DbFunctionExpression that invokes the canonical 'Var' function over the non-null members of the specified collection. O tipo de resultado da expressão é Edm.Double.The result type of the expression is Edm.Double.

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

Parâmetros

collection
DbExpression

Uma expressão que especifica a coleção para a qual a variação estatística deve ser calculada.An expression that specifies the collection for which the statistical variance should be computed.

Retornos

DbFunctionExpression

Uma nova DbFunctionExpression que produz o valor da variação estatística dos membros não nulos da coleção.A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection.

Exceções

Colecollection

Colecollection

Aplica-se a