C# Class MicroLite.Mapping.ConventionMappingSettings

A class containing the default convention mapping settings
Show file Open project: TrevorPilley/MicroLite Class Usage Examples

Protected Methods

Method Description
GetColumnName ( PropertyInfo propertyInfo ) : string

Gets the column name for the specified PropertyInfo using the default convention settings.

GetTableName ( Type type ) : string

Gets the table name for the specified Type using the default contention settings.

Private Methods

Method Description
ConventionMappingSettings ( ) : System

Method Details

GetColumnName() protected static method

Gets the column name for the specified PropertyInfo using the default convention settings.
protected static GetColumnName ( PropertyInfo propertyInfo ) : string
propertyInfo System.Reflection.PropertyInfo The property info for the property.
return string

GetTableName() protected static method

Gets the table name for the specified Type using the default contention settings.
protected static GetTableName ( Type type ) : string
type System.Type The type for the class.
return string