C# Класс Customer.Project.DataAccess.NHibernateMappings.CustomAutoMappingConfiguration

Наследование: FluentNHibernate.Automapping.DefaultAutomappingConfiguration
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsComponent ( System type ) : bool

Instruct the auto mapper how to identify components. This method will be called for each type that has already been accepted by ShouldMap(Type), and whichever types you return true for will be mapped as components. The default column names for the component's properties are a combination of the name of the property in the entity and the name of the property in the component type. For example, if the Person class had a HomeAddress property, it would be mapped to the columns HomeAddressStreet, HomeAddressPostCode, etc. For more info refer http://wiki.fluentnhibernate.org/Auto_mapping

IsId ( FluentNHibernate member ) : bool

Instructs automapper, which property of the business entity should be considered as Id field.

ShouldMap ( Type type ) : bool

ShouldMap method allows to specify a filter which instructs automapper for what all classes the automappings should be generated.

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

Метод Описание
IsValueObject ( Type type ) : bool

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

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

Instruct the auto mapper how to identify components. This method will be called for each type that has already been accepted by ShouldMap(Type), and whichever types you return true for will be mapped as components. The default column names for the component's properties are a combination of the name of the property in the entity and the name of the property in the component type. For example, if the Person class had a HomeAddress property, it would be mapped to the columns HomeAddressStreet, HomeAddressPostCode, etc. For more info refer http://wiki.fluentnhibernate.org/Auto_mapping
public IsComponent ( System type ) : bool
type System
Результат bool

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

Instructs automapper, which property of the business entity should be considered as Id field.
public IsId ( FluentNHibernate member ) : bool
member FluentNHibernate
Результат bool

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

ShouldMap method allows to specify a filter which instructs automapper for what all classes the automappings should be generated.
public ShouldMap ( Type type ) : bool
type System.Type
Результат bool