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.
Inheritance
object
Mappings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |