084 Generating Typescript code for PhbkPhoneView Lookup resource - chempkovsky/CS82ANGULAR GitHub Wiki
Notes
- We need to generate Interfaces, Services and Datasources for
- LpdPhone
- LprPhone01
- LprPhone02
- LprPhone03
- LprPhone04
- we must use
PhbkDbContext
-Dbcontext to run generators.
- For PhbkPhoneView we must regenerate
Steps required to accomplish the task
LpdPhone
- read the 016 Naming the folders article as a reminder. Create two subfolders
src\app\components\lpd-phone-view
src\app\services\lpd-phone-view
- Generating interfaces
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
src\app\components\lpd-phone-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LpdPhone
- batch:
01100-Interfaces.json
- Generating service and datasource
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
src\app\services\lpd-phone-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LpdPhone
- batch:
01400-WebApiService.json
LprPhone01
- read the 016 Naming the folders article as a reminder. Create two subfolders
src\app\components\lpr-phone01-view
src\app\services\lpr-phone01-view
- Generating interfaces
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
src\app\components\lpr-phone01-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone01
- batch:
01100-Interfaces.json
- Generating service and datasource
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
src\app\services\lpr-phone01-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone01
- batch:
01400-WebApiService.json
LprPhone02
- read the 016 Naming the folders article as a reminder. Create two subfolders
src\app\components\lpr-phone02-view
src\app\services\lpr-phone02-view
- Generating interfaces
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
src\app\components\lpr-phone02-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone02
- batch:
01100-Interfaces.json
- Generating service and datasource
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
src\app\services\lpr-phone02-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone02
- batch:
01400-WebApiService.json
LprPhone03
- read the 016 Naming the folders article as a reminder. Create two subfolders
src\app\components\lpr-phone03-view
src\app\services\lpr-phone03-view
- Generating interfaces
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
src\app\components\lpr-phone03-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone03
- batch:
01100-Interfaces.json
- Generating service and datasource
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
src\app\services\lpr-phone03-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone03
- batch:
01400-WebApiService.json
LprPhone04
- read the 016 Naming the folders article as a reminder. Create two subfolders
src\app\components\lpr-phone04-view
src\app\services\lpr-phone04-view
- Generating interfaces
- read 01 Generating interfaces as a reminder.
- applying similar steps generate interfaces
- folder:
src\app\components\lpr-phone04-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone04
- batch:
01100-Interfaces.json
- Generating service and datasource
- read 02 Generating service and datasource as a reminder.
- applying similar steps generate service and datasource
- folder:
src\app\services\lpr-phone04-view
- dbcontext:
PhbkDbContext
(NOT LpPhnPhBkContext
!!!)
- View:
LprPhone04
- batch:
01400-WebApiService.json
PhbkPhoneView