Show / Hide Table of Contents

Class PluralizedAutoClassMapper<T>

Automatically maps an entity to a table using a combination of reflection and naming conventions for keys. Identical to AutoClassMapper, but attempts to pluralize table names automatically. Example: Person entity maps to People table

Inheritance
System.Object
ClassMapper<T>
AutoClassMapper<T>
PluralizedAutoClassMapper<T>
Inherited Members
ClassMapper<T>.SchemaName
ClassMapper<T>.TableName
ClassMapper<T>.Properties
ClassMapper<T>.EntityType
ClassMapper<T>.PropertyTypeKeyTypeMapping
ClassMapper<T>.Schema(String)
ClassMapper<T>.AutoMap()
ClassMapper<T>.AutoMap(Func<Type, PropertyInfo, Boolean>)
ClassMapper<T>.Map(Expression<Func<T, Object>>)
ClassMapper<T>.Map(PropertyInfo)
Namespace: DapperDal.Mapper
Assembly: DapperDal.dll
Syntax
public class PluralizedAutoClassMapper<T> : AutoClassMapper<T>, IClassMapper<T>, IClassMapper where T : class
Type Parameters
Name Description
T

Methods

| Improve this Doc View Source

Table(String)

Declaration
public override void Table(string tableName)
Parameters
Type Name Description
System.String tableName
Overrides
DapperDal.Mapper.ClassMapper<T>.Table(System.String)

Extension Methods

SortingExtensions.ToSortable(Object)
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX