Using EntitiesToDTOs.v2.*

This is the main screen where you can customize the generation of the DTOs, under the image you will find an explanation of every control of the screen.

20111231_024833.png
  1. EDMX File: EDMX Files available in your Solution. Select the one you want to generate the DTOs from.
  2. Target Project: Projects available in your Solution. Select the one you want to drop the generated source files for DTOs.
  3. Use project default namespace: Indicates if the project default namespace is going to be used for DTOs.
  4. Namespace: Shows the namespace that is going to be used for DTOs. It turns enabled if you uncheck the "Use project default namespace" checkbox so you can enter the one you desire.
  5. DTOs Service-Ready: Indicates if DTOs must be prepared to be used in a Service as operation parameters and/or operation result.
  6. Generate Constructor Methods: Indicates if constructors for DTOs must be generated. If checked, for each DTO it will generate an empty constructor and a constructor with all the DTO properties as parameters.
  7. Use Key Property in associations: Indicates that Key Properties are going to be used in associations.
  8. Use Class Types in associations: Indicates that Class Types (DTOs) are going to be used in associations.
  9. One Source File: Indicates that only one Source File is going to be used containing all the code generated for DTOs.
  10. Source File per Class: Indicates that one Source File per Class (DTO) must be generated.
  11. Source File name: Shows the Source File name that is going to be used. It turns enabled if you select the "One Source File" option.
  12. Custom header comment: Indicates if a custom header comment must be placed at the beginning of every source file generated.
  13. Source File Custom Header Comment text: The custom header comment to be used if the "Custom header comment" option is checked (do not place /* or */, they are automatically inserted in the generated code).
  14. Target Project: Projects available in your Solution. Select the one you want to drop the generated source files for Assemblers.
  15. Use project default namespace: Indicates if the project default namespace is going to be used for Assemblers.
  16. Namespace: Shows the namespace that is going to be used for Assemblers. It turns enabled if you uncheck the "Use project default namespace" checkbox so you can enter the one you desire.
  17. One Source File: Indicates that only one Source File is going to be used containing all the code generated for Assemblers.
  18. Source File per Class: Indicates that one Source File per Class (Assembler) must be generated.
  19. Source File name: Shows the Source File name that is going to be used. It turns enabled if you select the "One Source File" option.
  20. Log process: Logs the generation process into a file (ideally if you want to report a bug).
  21. Generate Assemblers: Indicates if Assemblers must be generated.
  22. Help: Displays the help screen.
  23. Generate: Starts generation process.
  24. Config: Displays a drop-down menu with options to Export and Import the configuration used.
  25. Cancel: Closes EntitiesToDTOs.


Last edited Nov 19, 2012 at 10:17 PM by ffernandez, version 3

Comments

No comments yet.