DTO Generator tool required RRS feed

  • Question

  • User-579933967 posted

    I am working on a website in layers. So in model layer i need to have properties of all table in sql server.


    I need dto generator tool which can take table as input and give me dto properties as output for vb.net .


    i have for C#.net but tht is only for c# not for vb so kindly give me link from where i can download.






    Tuesday, October 12, 2010 7:04 AM


  • User-952121411 posted

    AutoMapper might be an option; I don;t think it auto generates the DTO but it will streamline the code for creating it from another class:

    Creating DTOs using AutoMapper:


    I know you just want DTOs, but an ORM like the Entity Framework can provide the creation of entities based on tables like you need:

    "Together with the Entity Framework runtime, the .NET Framework version 4 includes the EDM Generator (EdmGen.exe). This command prompt utility connects to a data source and generates model and mapping files based on a one-to-one mapping between entities and tables"

    Entity Framework Overview:


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 12, 2010 3:06 PM