C# Class Habanero.Smooth.InheritanceAutoMapper

Automatically maps an inheritance Relationship. based on the heuristic of ChildClass: ParentClass where the ChildClass and ParentClass are both BusinessObjects. The Inhertiance Relationship is always taken as Single Table.
显示文件 Open project: Chillisoft/habanero.smooth Class Usage Examples

Private Properties

Property Type Description
CreateDiscriminatorProp void
MustBeMapped bool

Public Methods

Method Description
InheritanceAutoMapper ( TypeWrapper typeWrapper ) : System

Map ( ) : ISuperClassDef

Private Methods

Method Description
CreateDiscriminatorProp ( ISuperClassDef inheritanceClassDef ) : void
MustBeMapped ( ) : bool

Method Details

InheritanceAutoMapper() public method

public InheritanceAutoMapper ( TypeWrapper typeWrapper ) : System
typeWrapper TypeWrapper
return System

Map() public method

public Map ( ) : ISuperClassDef
return ISuperClassDef