-
Notifications
You must be signed in to change notification settings - Fork 22
Mapping Graphs
In Maths, a graph is a structure made of connected nodes (vertices and edges). For the scope of this library an Entity or DTO graph is a structure where the nodes are objects and the connections are Associations.
When a method is expecting a graph, it means the root entity along with a set or a subset of relationships is expected.
-
ORM mapping from a DTO to an Entity where a query is performed to load the entity graph and the given DTO graph is mapped into the corresponding entities. This works like a combination of the well known libraries GraphDiff and AutoMapper in a single step.
-
DTO to DTO mapping a regular class to class mapper such as AutoMapper or TinyMapper but a thousand times less powerful than those libraries.
The main difference between this mapper engine and other mappers is that it takes into account keys and states and that makes it friendly with ORMs.