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
System.Object
Mappings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dse.Mapping
Assembly: Dse.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 |