047 Generating Typescript code for PhbkDivisionView Lookup resource - chempkovsky/CS82ANGULAR GitHub Wiki

Notes

Notes

  • We need to generate Interfaces, Services and Datasources for
    • LpdDivisionView
    • LprDivision01View
    • LprDivision02View
  • we must use PhbkDbContext-Dbcontext to run generators.
  • For PhbkDivisionView we must regenerate
    • intefaces
    • services
    • Sform

Steps required to accomplish the task

LpdDivisionView

create folders for LpdDivisionView

  • read the 016 Naming the folders article as a reminder. Create two subfolders
    • app/components/lpd-division-view
    • app/services/lpd-division-view

01100 Interfaces batch for LpdDivisionView

  • read 01 Generating interfaces as a reminder.
  • applying similar steps generate interfaces
    • folder: app/components/lpd-division-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LpdDivisionView
    • batch: 01100-Interfaces.json

01400-WebApiService batch for LpdDivisionView

  • read 02 Generating service and datasource as a reminder.
  • applying similar steps generate service and datasource
    • folder: app/services/lpd-division-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LpdDivisionView
    • batch: 01400-WebApiService.json

LprDivision01View

create folders for LprDivision01View

  • read the 016 Naming the folders article as a reminder. Create two subfolders
    • app/components/lpr-division01-view
    • app/services/lpr-division01-view

01100 Interfaces batch for LprDivision01View

  • read 01 Generating interfaces as a reminder.
  • applying similar steps generate interfaces
    • folder: app/components/lpr-division01-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LprDivision01View
    • batch: 01100-Interfaces.json

01400-WebApiService batch for LprDivision01View

  • read 02 Generating service and datasource as a reminder.
  • applying similar steps generate service and datasource
    • folder: app/services/lpr-division01-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LprDivision01View
    • batch: 01400-WebApiService.json

LprDivision02View

create folders for LprDivision02View

  • read the 016 Naming the folders article as a reminder. Create two subfolders
    • app/components/lpr-division02-view
    • app/services/lpr-division02-view

01100 Interfaces batch for LprDivision02View

  • read 01 Generating interfaces as a reminder.
  • applying similar steps generate interfaces
    • folder: app/components/lpr-division02-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LprDivision02View
    • batch: 01100-Interfaces.json

01400-WebApiService batch for LprDivision02View

  • read 02 Generating service and datasource as a reminder.
  • applying similar steps generate service and datasource
    • folder: app/services/lpr-division02-view
    • dbcontext: PhbkDbContext (NOT LpPhbkDbContext!!!)
    • View: LprDivision02View
    • batch: 01400-WebApiService.json

PhbkDivisionView