-
Notifications
You must be signed in to change notification settings - Fork 22
Extensions
This library was build to be adapted to any project needs and extended to any ORM or product. If out-of-the-box behavior + configuration is not enough,there are other options.
However, a deeper knowledge of the architecture of the library is needed.
Getting a value from a class source.myProp
is not the same as getting it from a dictionary source["myProp"]
. IType
is an abstraction that takes care of creating instances, getting/setting member values, and also of storing mapping metadata (annotations).
IType
instances are created by registered ITypeFactory
instances.
A TypePair
is the configuration and metadata for a mapping operation between two specific types (i.e.: which member maps to which other, ignored members, etc.)
TypePair
instanced are created by an ITypePairFactory
instance.
ITypeMapper
performs the map operation between two specific types.
ITypeMapper
instances are created by registered ITypeMapperFactory
.