Nested Properties#13
Conversation
|
This is looking good. Let me know when you're ready for another review. |
Moved all the reflection logic into ObjectMapping Combined BuildDynamic and BuildTyped into BuildObject Fixed failing tests Added Additional tests
|
I added support for nested dynamic objects and moved all the reflection stuff into the mappingObject. I also made a change to how dynamics are created you just pass dynamic as a generic type when creating a task I believe I have it to a point where a code review would be helpful. |
|
I did some refactoring in an attempt to make the code more understandable and added more unit tests. I also renamed |
Added more unit tests.
|
This PR will be re-created after Simpler.Data is resurrected. See #19 for details. |
This adds the ability for simpler to create nested objects from a query. It works by matching matching a column name to the object properties and nested object properties.
Example 1
Given the following classes and query result a Person and a nested Pet object are created.
Example 2
Given the following classes and query result a Person and 2 nested Pet object are created.
Example 3
Given the following classes and query result a Person and a nested dynamic object are created.
Todo List