Click or drag to resize
FunctionMapping Class
Class which is used to define a function mapping between a .NET operator or function / method and a database function / operator. Mainly used for Linq support, however one could use this list also in .NET 2.0 code
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesFunctionMapping

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public class FunctionMapping

The FunctionMapping type exposes the following members.

Constructors
  NameDescription
Public methodFunctionMapping(String, String, Int32, String)
Initializes a new instance of the FunctionMapping class.
Public methodFunctionMapping(Type, String, Int32, String)
Initializes a new instance of the FunctionMapping class.
Public methodFunctionMapping(String, String, Int32, String, String, String)
Initializes a new instance of the FunctionMapping class.
Public methodFunctionMapping(Type, String, Int32, String, String, String)
Initializes a new instance of the FunctionMapping class.
Top
Properties
  NameDescription
Public propertyCatalogName
Gets the name of the catalog (optional, can be empty), where the database function can be found in.
Public propertyDbFunctionCallPattern
Gets 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.
Public propertyFunctionName
Gets the name of the .NET function or operator (in string form, e.g. "+") which equivalent should be called. Example: Concat.
Public propertyKey
Gets the key of this mapping, which is build from function name, typename and parameter count. It has the format as defined in FunctionMappingStore.KeyFormat: FunctionName|TypeName|ParameterCount. Example: Concat|System.String|2
Public propertyParameterCount
Gets the parameter count of the function / operator. This number has to be equal to the # of parameters of the db equivalent.
Public propertySchemaName
Gets the name of the schema (optional, can be empty), where the database function can be found in.
Public propertyTypeName
Gets the name of the type defining the .NET function. Example: System.String.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
See Also