Click or drag to resize

MappingConfiguration Methods

The MappingConfiguration type exposes the following members.

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 methodGetT
If defined, returns the mapping for POCO type T, otherwise returns null.
Public methodSetMaxPreparedStatementsThreshold
Sets the maximum amount of prepared statements before issuing a logger warning. Defaults to 500.
Top
See Also