Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
private AggregateStatement BindAggregateStatementToken(AggregateStatementToken token) { var expression = this.bindMethod(token.Expression) as SingleValueNode; if (expression == null) { throw new ODataException(ODataErrorStrings.ApplyBinder_AggregateStatementNotSingleValue(token.Expression)); } var typeReference = CreateAggregateStatementTypeReference(expression, token.WithVerb); // TODO: Determine source return(new AggregateStatement(expression, token.WithVerb, null, token.AsAlias, typeReference)); }