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.2.0.0 (5.2.17.0403)
Syntax protected override string ConstructCallToAggregateWithFieldAsParameter(
AggregateFunction function,
string fieldName
)
Protected Overrides 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:
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