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

OleDbSqlServerMetadataCache..::..GetAggregateFunction Method

Gets an aggregate function.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.OleDb (in Tortuga.Chain.SqlServer.OleDb.dll)

Syntax


public string GetAggregateFunction(
	AggregateType aggregateType,
	string columnName
)
Public Function GetAggregateFunction ( _
	aggregateType As AggregateType, _
	columnName As String _
) As String
public:
String^ GetAggregateFunction(
	AggregateType^ aggregateType, 
	String^ columnName
)

Parameters

aggregateType
Type: Tortuga.Chain.Aggregates..::..AggregateType
Type of the aggregate.
columnName
Type: String
Name of the column to insert into the function.

Return Value

A string suitable for use in an aggregate.