New Line after each property in generated DTO

May 22, 2012 at 1:59 PM

Hi,

Is there a way i can tweak the source code of the add in that when generating a DTO object it does not put in an automatic new line after each property?

Any help would be appreciated.

Regards,

Stuart Ferguson

Coordinator
May 22, 2012 at 11:54 PM
Edited Jun 26, 2012 at 3:16 AM

Hello Stuart.

Download the source code, then go to EntitiesToDTOs.Generators.DTOGenerator class and navigate to line 120 (version 14069).

That is the moment when a property is added to the DTO class, add you code there.

My question is: why do you need to add the properties one right after the other without blank lines between them?
At the end it will be compiled to MSIL with all your code and those blank lines will not produce any difference.

Marked as answer by ffernandez on 12/30/2013 at 6:56 PM