C# Class Habanero.Smooth.AllClassesAutoMapper

Maps all Business Objects in an ITypeSource to a IClassDef
Afficher le fichier Open project: Chillisoft/habanero.smooth Class Usage Examples

Private Properties

Свойство Type Description
ContainsRelatedClass bool
CreateReverseRelDef IRelationshipDef
CreateReverseRelationshipDefs void
MapAllReverseRelationships void
MapAndStoreClassDefFor IClassDef
MergeClassDefs void
RelatedObjectClassDef IClassDef

Méthodes publiques

Méthode Description
AllClassesAutoMapper ( ITypeSource source ) : System

Constructs the AllClassesAutoMapper with a specified Source.

CreateReverseRelationship ( ClassDefCol classDefCol, IClassDef classDef, IRelationshipDef relationship ) : IRelationshipDef

Creates a Reverse Relationship when required.

Map ( ) : ClassDefCol

Maps the IBusinessObject classes in the ITypeSource.

Private Methods

Méthode Description
ContainsRelatedClass ( IRelationshipDef relationship, ClassDefCol classDefCol ) : bool
CreateReverseRelDef ( IRelationshipDef rel, IClassDef classDef ) : IRelationshipDef
CreateReverseRelationshipDefs ( ClassDefCol classDefCol, IClassDef classDef ) : void
MapAllReverseRelationships ( IEnumerable classDefsMapped ) : void
MapAndStoreClassDefFor ( TypeWrapper type ) : IClassDef
MergeClassDefs ( IClassDef classDef ) : void
RelatedObjectClassDef ( ClassDefCol classDefCol, IRelationshipDef relationshipDef ) : IClassDef

The ClassDef for the related object.

Method Details

AllClassesAutoMapper() public méthode

Constructs the AllClassesAutoMapper with a specified Source.
public AllClassesAutoMapper ( ITypeSource source ) : System
source ITypeSource
Résultat System

CreateReverseRelationship() public static méthode

Creates a Reverse Relationship when required.
public static CreateReverseRelationship ( ClassDefCol classDefCol, IClassDef classDef, IRelationshipDef relationship ) : IRelationshipDef
classDefCol ClassDefCol
classDef IClassDef
relationship IRelationshipDef
Résultat IRelationshipDef

Map() public méthode

Maps the IBusinessObject classes in the ITypeSource.
public Map ( ) : ClassDefCol
Résultat ClassDefCol