FunctionMapping Constructor (String, String, Int32, String, String, String) |
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public FunctionMapping(
string typeName,
string functionName,
int parameterCount,
string dbFunctionCallPattern,
string catalogName,
string schemaName
)
Public Sub New (
typeName As String,
functionName As String,
parameterCount As Integer,
dbFunctionCallPattern As String,
catalogName As String,
schemaName 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. - 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