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.1.0.0 (5.1.0)
Syntax protected virtual string ConstructCallToAggregateWithFieldAsParameter(
AggregateFunction function,
string fieldName
)
Protected Overridable Function ConstructCallToAggregateWithFieldAsParameter (
function As AggregateFunction,
fieldName As String
) As String
Parameters
- function
- Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
The function. - fieldName
- Type: SystemString
Name of the field.
Return Value
Type:
Stringready 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