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
Inherited Members
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 SourceTable(String)
Declaration
public override void Table(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName |
Overrides
DapperDal.Mapper.ClassMapper<T>.Table(System.String)