Click or drag to resize
MappingConfiguration Class
Stores the mapping definitions to be used by the Mapper and Linq components.
Inheritance Hierarchy
SystemObject
  Dse.MappingMappingConfiguration

Namespace: Dse.Mapping
Assembly: Dse (in Dse.dll) Version: 2.0.0.0
Syntax
C#
public sealed class MappingConfiguration

The MappingConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodMappingConfiguration
Creates a new instance of MappingConfiguration to store the mapping definitions to be used by the Mapper or Linq components.
Top
Methods
  NameDescription
Public methodConvertTypesUsing
Configures CqlPoco to use the specified type conversion factory when getting type conversion functions for converting between data types in the database and your POCO objects.
Public methodDefine(ITypeDefinition)
Specifies an individual mapping definition. Usually used along with the MapTPoco class which allows you to define mappings with a fluent interface. Will throw if a mapping has already been defined for a given POCO Type.
Public methodDefine(Mappings)
Specifies collections of Mappings specified. Users should sub-class the Mappings class and use the fluent interface there to define mappings for POCOs.
Public methodDefineT
Specifies a collection of mappings defined in Type T. Type T should be a sub-class of Mappings and must have a parameter-less constructor.
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodSetMaxPreparedStatementsThreshold
Sets the maximum amount of prepared statements before issuing a logger warning. Defaults to 500.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberGlobal
Global mapping definitions to be reused across all the Application Domain.
Public propertyMaxPreparedStatementsThreshold
Gets or sets the maximum amount of prepared statements before issuing a logger warning. Defaults to 500.
Top
See Also