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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DapperExtensions.Mapper
Assembly: DapperExtensions.StrongName.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
DapperExtensions.Mapper.ClassMapper<T>.Table(System.String)