C# Class SharpArch.Specifications.NHibernate.Mappings.AutomappingConfiguration

Applies custom mapping conventions to S#Arch entities.
Following rules are applied: ID Property with name Id will be mapped to entity ID. Component ValueObject descendants will be mapped as Components.
Inheritance: FluentNHibernate.Automapping.DefaultAutomappingConfiguration
显示文件 Open project: sharparchitecture/Sharp-Architecture

Public Methods

Method Description
IsComponent ( Type type ) : bool

Determines whether the specified type is component (value object).

IsId ( Member member ) : bool

Determines whether the specified member is identifier.

ShouldMap ( Type type ) : bool

Checks if given type is S#Arch entity.

Method Details

IsComponent() public method

Determines whether the specified type is component (value object).
public IsComponent ( Type type ) : bool
type System.Type The type.
return bool

IsId() public method

Determines whether the specified member is identifier.
public IsId ( Member member ) : bool
member Member The member.
return bool

ShouldMap() public method

Checks if given type is S#Arch entity.
public ShouldMap ( Type type ) : bool
type System.Type
return bool