Click or drag to resize

FunctionMapping Constructor (Type, String, Int32, String, String, String)

Initializes a new instance of the FunctionMapping class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public FunctionMapping(
	Type definingType,
	string functionName,
	int parameterCount,
	string dbFunctionCallPattern,
	string catalogName,
	string schemaName
)

Parameters

definingType
Type: SystemType
The defining type of the function, e.g. typeof(System.String).
functionName
Type: SystemString
Name of the .NET function or operator (in string form, e.g. "+") which equivalent should be called. Example: Concat. Is part of unique key for this functionmapping
parameterCount
Type: SystemInt32
The parameter count of the function / operator. This number has to be equal to the # of parameters of the db equivalent. Is part of unique key for this function mapping
dbFunctionCallPattern
Type: SystemString
The DbFunctionCall pattern to use, which is the pattern used in the DbFunctionCall object which will take care of the function call text in the resulting query.
catalogName
Type: SystemString
Name of the catalog (optional, can be empty), where the database function can be found in.
schemaName
Type: SystemString
Name of the schema (optional, can be empty), where the database function can be found in.
See Also