C# Class Habanero.Smooth.OneToManyAutoMapper

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

Private Properties

Property Type Description
GetReverseRelationshipName string

Public Methods

Method 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

Method Description
GetReverseRelationshipName ( ) : string

Method Details

CreateRelPropDef() public method

Create a new Relationship Prop Def.
public CreateRelPropDef ( ) : IRelPropDef
return IRelPropDef

GetOwningPropName() public static method

Returns the owning property name
public static GetOwningPropName ( TypeWrapper ownerClassType ) : string
ownerClassType TypeWrapper
return string

GetRelatedPropName() public method

Returns the Related Property name.
public GetRelatedPropName ( ) : string
return string

MapOneToMany() public method

Map the relationship including the Relationship props.
public MapOneToMany ( ) : IRelationshipDef
return IRelationshipDef

MustBeMapped() public method

Must the Relationship be Mapped.
public MustBeMapped ( ) : bool
return bool

OneToManyAutoMapper() public method

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

OneToManyAutoMapper() public method

Construct the AutoMapper for a specified propertyWrapper.
public OneToManyAutoMapper ( PropertyWrapper propertyWrapper ) : System
propertyWrapper PropertyWrapper
return System