Share via


AggregateExpression Constructors

Definition

Overloads

AggregateExpression(SingleValueNode, AggregationMethod, String, IEdmTypeReference)

Create a PropertyAggregateExpression.

AggregateExpression(SingleValueNode, AggregationMethodDefinition, String, IEdmTypeReference)

Create a AggregateExpression.

AggregateExpression(SingleValueNode, AggregationMethod, String, IEdmTypeReference)

Create a PropertyAggregateExpression.

public AggregateExpression (Microsoft.OData.UriParser.SingleValueNode expression, Microsoft.OData.UriParser.Aggregation.AggregationMethod method, string alias, Microsoft.OData.Edm.IEdmTypeReference typeReference);
new Microsoft.OData.UriParser.Aggregation.AggregateExpression : Microsoft.OData.UriParser.SingleValueNode * Microsoft.OData.UriParser.Aggregation.AggregationMethod * string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.UriParser.Aggregation.AggregateExpression
Public Sub New (expression As SingleValueNode, method As AggregationMethod, alias As String, typeReference As IEdmTypeReference)

Parameters

expression
SingleValueNode

The aggregation expression.

alias
String

The aggregation alias.

typeReference
IEdmTypeReference

The IEdmTypeReference of this aggregate expression.

Applies to

AggregateExpression(SingleValueNode, AggregationMethodDefinition, String, IEdmTypeReference)

Create a AggregateExpression.

public AggregateExpression (Microsoft.OData.UriParser.SingleValueNode expression, Microsoft.OData.UriParser.Aggregation.AggregationMethodDefinition methodDefinition, string alias, Microsoft.OData.Edm.IEdmTypeReference typeReference);
new Microsoft.OData.UriParser.Aggregation.AggregateExpression : Microsoft.OData.UriParser.SingleValueNode * Microsoft.OData.UriParser.Aggregation.AggregationMethodDefinition * string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.UriParser.Aggregation.AggregateExpression
Public Sub New (expression As SingleValueNode, methodDefinition As AggregationMethodDefinition, alias As String, typeReference As IEdmTypeReference)

Parameters

expression
SingleValueNode

The aggregation expression.

alias
String

The aggregation alias.

typeReference
IEdmTypeReference

The IEdmTypeReference of this aggregate expression.

Applies to