MappingConfiguration Class |
Namespace: Cassandra.Mapping
public sealed class MappingConfiguration
The MappingConfiguration type exposes the following members.
Name | Description | |
---|---|---|
MappingConfiguration |
Creates a new instance of MappingConfiguration to store the mapping definitions to be used by the Mapper or Linq components.
|
Name | Description | |
---|---|---|
ConvertTypesUsing |
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.
| |
Define(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.
| |
Define(Mappings) | ||
DefineT |
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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetMaxPreparedStatementsThreshold |
Sets the maximum amount of prepared statements before issuing a logger warning. Defaults to 500.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Global |
Global mapping definitions to be reused across all the Application Domain.
| |
MaxPreparedStatementsThreshold |
Gets or sets the maximum amount of prepared statements before issuing a logger warning. Defaults to 500.
|