Click or drag to resize

SqlServerSpecificCreatorConstructCallToAggregateWithFieldAsParameter Method

Constructs a call to the aggregate function specified with the field name specified as parameter.

Namespace:  SD.LLBLGen.Pro.DQE.SqlServer
Assembly:  SD.LLBLGen.Pro.DQE.SqlServer (in SD.LLBLGen.Pro.DQE.SqlServer.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
protected override string ConstructCallToAggregateWithFieldAsParameter(
	AggregateFunction function,
	string fieldName
)

Parameters

function
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
The function.
fieldName
Type: SystemString
Name of the field.

Return Value

Type: String
ready to append string which represents the call to the aggregate function with the field as a parameter or the fieldname itself if the aggregate function isn't known.
Remarks
Override this method and replace function with a function which is supported if your database doesn't support the function used.
See Also