Kpok Dev Toolbox

This project contains tools, templates and extensions for developers that helps them to easyly build applications by generating code that is boring to develop or too repetitive.

Technical documentation

Kpok Entity Tool Models

Templates

T4 templates for code generation can be found within the templates directory of this repo.

Available templates

  • DataModel-1.0.tt
    Generates domain object models based on entities (*.ent) models.
  • DataModel-dto-1.0.tt
    Generates a partial DTO class used to transfer data out that is editable by the developer based on entities (*.ent).
  • DataModel-dto-designer-1.0.tt
    Generates a partial DTO class used to transfer data out from the properties of entities (*.ent).
  • DataModel-input-1.0.tt
    Generates a partial DTO class used to transfer data in that is editable by the developer based on entities (*.ent).
  • DataModel-input-designer-1.0.tt
    Generates a partial DTO class used to transfer data in from the properties of entities (*.ent).
  • DataModel-ts-1.0.tt
    Generates an inteface and a class in TypeScript from the properties of entities (*.ent) models.
  • DataServices-1.0.tt
    Generates data services based on data service (*.datasvc) models.
  • SqlServerCreateTable-1.0.tt
    Generates a CREATE TABLE T-SQL script to create a table including indexes and foreign keys based on table (*.tbl) models.