Click or drag to resize

DbSpecificCreatorBaseConstructCallToAggregateWithFieldAsParameter Method

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

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
protected virtual 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