Class Mappings
A class for defining how to map multiple POCOs via a fluent-style interface. Inheritors should use the For<TPoco>() method inside their constructor to define mappings.
Inherited Members
Namespace: Cassandra.Mapping
Assembly: Cassandra.dll
Syntax
public abstract class Mappings
Constructors
Mappings()
Creates a new collection of mappings. Inheritors should define all their mappings in the constructor of the sub-class.
Declaration
protected Mappings()
Methods
For<TPoco>()
Adds a mapping for the Poco type specified (TPoco).
Declaration
public Map<TPoco> For<TPoco>()
Returns
Type | Description |
---|---|
Map<TPoco> |
Type Parameters
Name | Description |
---|---|
TPoco |