C# Class WeenyMapper.Docs.Samples.ShoppingCartConvention

Inheritance: WeenyMapper.Conventions.DefaultConvention
ファイルを表示 Open project: erikojebo/WeenyMapper

Public Methods

Method Description
GetColumnName ( PropertyInfo propertyInfo ) : string
GetTableName ( Type entityType ) : string
HasIdentityId ( Type entityType ) : bool
IsIdProperty ( PropertyInfo propertyInfo ) : bool
ShouldMapProperty ( PropertyInfo propertyInfo ) : bool

Method Details

GetColumnName() public method

public GetColumnName ( PropertyInfo propertyInfo ) : string
propertyInfo System.Reflection.PropertyInfo
return string

GetTableName() public method

public GetTableName ( Type entityType ) : string
entityType System.Type
return string

HasIdentityId() public method

public HasIdentityId ( Type entityType ) : bool
entityType System.Type
return bool

IsIdProperty() public method

public IsIdProperty ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
return bool

ShouldMapProperty() public method

public ShouldMapProperty ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
return bool