Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

CustomAggregateColumnAttribute Constructor (String, Boolean, Int32)

Initializes a new instance of the GroupByColumnAttribute class.

Namespace:  Tortuga.Chain.Aggregates
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public CustomAggregateColumnAttribute(
	string selectExpression,
	bool groupBy,
	int order
)
Public Sub New ( _
	selectExpression As String, _
	groupBy As Boolean, _
	order As Integer _
)
public:
CustomAggregateColumnAttribute(
	String^ selectExpression, 
	bool^ groupBy, 
	int^ order
)

Parameters

selectExpression
Type: String
The SQL expression to use.
groupBy
Type: Boolean
Indicates whether the expression is also used for grouping.
order
Type: Int32
The order is important for group by columns. If tied or null, uses the order the properties appear in reflection.