-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related entities as dto object #8
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see those properties as auto properties, with capital letter - public bool GenerateMapper {get;set;}
…ral levels of releated properties.
Hi Yohney, I take in account your remarks, I have make changes to support severals levels of related properties. Regards, |
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.