C# Class Habanero.Smooth.OneToManyAutoMapper

AutoMapper that used used to create the relationship in the case for a One To Many Relationship.
Afficher le fichier Open project: Chillisoft/habanero.smooth Class Usage Examples

Private Properties

Свойство Type Description
GetReverseRelationshipName string

Méthodes publiques

Méthode Description
CreateRelPropDef ( ) : IRelPropDef

Create a new Relationship Prop Def.

GetOwningPropName ( TypeWrapper ownerClassType ) : string

Returns the owning property name

GetRelatedPropName ( ) : string

Returns the Related Property name.

MapOneToMany ( ) : IRelationshipDef

Map the relationship including the Relationship props.

MustBeMapped ( ) : bool

Must the Relationship be Mapped.

OneToManyAutoMapper ( PropertyInfo propInfo ) : System

Construct the AutoMapper for a specified PropertyInfo.

OneToManyAutoMapper ( PropertyWrapper propertyWrapper ) : System

Construct the AutoMapper for a specified propertyWrapper.

Private Methods

Méthode Description
GetReverseRelationshipName ( ) : string

Method Details

CreateRelPropDef() public méthode

Create a new Relationship Prop Def.
public CreateRelPropDef ( ) : IRelPropDef
Résultat IRelPropDef

GetOwningPropName() public static méthode

Returns the owning property name
public static GetOwningPropName ( TypeWrapper ownerClassType ) : string
ownerClassType TypeWrapper
Résultat string

GetRelatedPropName() public méthode

Returns the Related Property name.
public GetRelatedPropName ( ) : string
Résultat string

MapOneToMany() public méthode

Map the relationship including the Relationship props.
public MapOneToMany ( ) : IRelationshipDef
Résultat IRelationshipDef

MustBeMapped() public méthode

Must the Relationship be Mapped.
public MustBeMapped ( ) : bool
Résultat bool

OneToManyAutoMapper() public méthode

Construct the AutoMapper for a specified PropertyInfo.
public OneToManyAutoMapper ( PropertyInfo propInfo ) : System
propInfo System.Reflection.PropertyInfo
Résultat System

OneToManyAutoMapper() public méthode

Construct the AutoMapper for a specified propertyWrapper.
public OneToManyAutoMapper ( PropertyWrapper propertyWrapper ) : System
propertyWrapper PropertyWrapper
Résultat System