C# Класс Habanero.Smooth.OneToManyAutoMapper

AutoMapper that used used to create the relationship in the case for a One To Many Relationship.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetReverseRelationshipName string

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetReverseRelationshipName ( ) : string

Описание методов

CreateRelPropDef() публичный Метод

Create a new Relationship Prop Def.
public CreateRelPropDef ( ) : IRelPropDef
Результат IRelPropDef

GetOwningPropName() публичный статический Метод

Returns the owning property name
public static GetOwningPropName ( TypeWrapper ownerClassType ) : string
ownerClassType TypeWrapper
Результат string

GetRelatedPropName() публичный Метод

Returns the Related Property name.
public GetRelatedPropName ( ) : string
Результат string

MapOneToMany() публичный Метод

Map the relationship including the Relationship props.
public MapOneToMany ( ) : IRelationshipDef
Результат IRelationshipDef

MustBeMapped() публичный Метод

Must the Relationship be Mapped.
public MustBeMapped ( ) : bool
Результат bool

OneToManyAutoMapper() публичный Метод

Construct the AutoMapper for a specified PropertyInfo.
public OneToManyAutoMapper ( PropertyInfo propInfo ) : System
propInfo System.Reflection.PropertyInfo
Результат System

OneToManyAutoMapper() публичный Метод

Construct the AutoMapper for a specified propertyWrapper.
public OneToManyAutoMapper ( PropertyWrapper propertyWrapper ) : System
propertyWrapper PropertyWrapper
Результат System