Link Search Menu Expand Document

Mappers (Core)


Mapper classes let you define entity mappings in code as an alternative to decorating your models with attributes. ClassMapper, PropertyMapper, IdentityMapper and PrimaryMapper map a class or property to its table, column, identity and primary-key equivalents; ClassHandlerMapper, PropertyHandlerMapper and PropertyValueAttributeMapper wire up custom handlers; TypeMapper maps a .NET CLR type or property to its database type; and DbHelperMapper, DbSettingMapper and StatementBuilderMapper map the per-provider helper, setting and statement-builder classes used internally by the library. FluentMapper ties all of the above together into a single fluent entry point.


Table of contents