Related entities as dto object - #8
Open
Gwenou wants to merge 13 commits into
Open
Conversation
yohney
reviewed
Mar 25, 2017
Owner
There was a problem hiding this comment.
This is a nice feature, it will be nice to have it within!
However, there are a lot of changes here. I'll need to pull this code and go through it in more detail through VS, then I'll give you more feedback (there is just one comment regarding naming for now).
| private bool _generateMapper; | ||
| public class GeneratorProperties | ||
| { | ||
| public bool generateMapper; |
Owner
There was a problem hiding this comment.
I would like to see those properties as auto properties, with capital letter - public bool GenerateMapper {get;set;}
…ral levels of releated properties.
Collaborator
Author
|
Hi Yohney, I take in account your remarks, I have make changes to support severals levels of related properties. Regards, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I have add a new option do use related enteties property by using other DTO (instead of create properties with a composed name).
The goal is to have the posibilities to use common function (external or in custom code) based on the related DTO.
It works for collection too. The fields replicated are only those selected in tree.
For the moment it replicate only to one level but the code is foreseen to support more. (todo in my next free time)
Additionnaly if this first option is use I have add a second one to create Id or list of Id to directly recreate the relation for an MCV.Net controler (in binding)
Old functionnalities are preserve if those options aren't check.