C# Class Habanero.Smooth.IdentityAutoMapper

Maps the Identity
Mostra file Open project: Chillisoft/habanero.smooth Class Usage Examples

Private Properties

Property Type Description
CreatePrimaryKeyProp IPropDef
FindExistingPKPropDef IPropDef
GetPrimaryKeyDef IPrimaryKeyDef
GetPrimaryKeyPropDef IPropDef
IsGuidObjectID bool

Public Methods

Method Description
IdentityAutoMapper ( IClassDef classDef ) : System

Construct

MapIdentity ( ) : IPrimaryKeyDef

Map the Identity for the given ClassDef

Private Methods

Method Description
CreatePrimaryKeyProp ( ) : IPropDef
FindExistingPKPropDef ( ) : IPropDef
GetPrimaryKeyDef ( IClassDef classDef ) : IPrimaryKeyDef

Gets the Primary Key def from this ClassDef or one of its Super Class Defs

GetPrimaryKeyPropDef ( ) : IPropDef
IsGuidObjectID ( IPropDef propDef ) : bool

Method Details

IdentityAutoMapper() public method

Construct
public IdentityAutoMapper ( IClassDef classDef ) : System
classDef IClassDef
return System

MapIdentity() public method

Map the Identity for the given ClassDef
public MapIdentity ( ) : IPrimaryKeyDef
return IPrimaryKeyDef