-
Notifications
You must be signed in to change notification settings - Fork 0
047 Generating Typescript code for PhbkDivisionView Lookup resource
chempkovsky edited this page May 29, 2022
·
3 revisions
- 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
- read the 016 Naming the folders article as a reminder. Create two subfolders
app/components/lpd-division-view
app/services/lpd-division-view
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
app/components/lpd-division-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LpdDivisionView
- batch:
01100-Interfaces.json
- folder:
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
app/services/lpd-division-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LpdDivisionView
- batch:
01400-WebApiService.json
- folder:
- read the 016 Naming the folders article as a reminder. Create two subfolders
app/components/lpr-division01-view
app/services/lpr-division01-view
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
app/components/lpr-division01-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LprDivision01View
- batch:
01100-Interfaces.json
- folder:
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
app/services/lpr-division01-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LprDivision01View
- batch:
01400-WebApiService.json
- folder:
- read the 016 Naming the folders article as a reminder. Create two subfolders
app/components/lpr-division02-view
app/services/lpr-division02-view
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
app/components/lpr-division02-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LprDivision02View
- batch:
01100-Interfaces.json
- folder:
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
app/services/lpr-division02-view
- dbcontext:
PhbkDbContext
(NOTLpPhbkDbContext
!!!) - View:
LprDivision02View
- batch:
01400-WebApiService.json
- folder:
- repeat the steps of the article 01 Generating interfaces
- repeat the steps of the article 02 Generating service and datasource
- repeat the steps of the article 03 Generating Sform