C# 클래스 Customer.Project.DataAccess.NHibernateMappings.CustomAutoMappingConfiguration

상속: FluentNHibernate.Automapping.DefaultAutomappingConfiguration
파일 보기 프로젝트 열기: atosorigin/AtosMvcStarterKit 1 사용 예제들

공개 메소드들

메소드 설명
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