Skip to content

A visual studio plugin for generating DTO objects from entities

License

Notifications You must be signed in to change notification settings

ryan-idea42/dto-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dto-generator

A visual studio plugin for generating DTO objects from entities

Getting started

  • Right click any entity (cs class) and choose option "Generate DTO"

  • Pick a location - if any existing DTOs are found, most likely location will be selected. Otherwise, select location in format PROJECTNAME/Folder/SubFolder. For example, Grader.DAL/Generated/Dto or Grader.DAL/Dto

  • Pick properties from entities that you want to map

  • Add any custom code between ////BCC/ BEGIN CUSTOM CODE SECTION and ////ECC/ END CUSTOM CODE SECTION. Any custom code will be preserved upon regeneration.

About

A visual studio plugin for generating DTO objects from entities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.7%
  • HTML 3.2%
  • CSS 1.1%