FunctionMapping Constructor (String, String, Int32, String) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public FunctionMapping(
string typeName,
string functionName,
int parameterCount,
string dbFunctionCallPattern
)
Public Sub New (
typeName As String,
functionName As String,
parameterCount As Integer,
dbFunctionCallPattern As String
)
Parameters
- typeName
- Type: SystemString
Name of the type defining the .NET function. Example: System.String.
Is part of unique key for this function mapping. - 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.
See Also