080 Web Api services for Lookup resource of PhbkPhoneView - chempkovsky/CS82ANGULAR GitHub Wiki

Notes

  • We need to generate each Web Api service twice. The first time is for modeling. (The Wizard's repo for PhbkDbContext will be updated). The second time is for production. (The Wizard's repo for LpPhnPhBkContext will be updated). We can not copy/paste from one repo to another. Entities declared for PhbkDbContext-repo differ from those which are defined for LpPhnPhBkContext-repo. Some foreign keys for entities of LpPhnPhBkContext-repo were removed.

Steps required to accomplish the task

  • We do not describe step by step instructions
    • please repeat the steps similar to those described in the article 041.

Web Api Services for Modeling repo

  • LpPhBkControllers is a destination project
    • Controllers is a destination folder
  • PhBkContext- is a repo Dbcontext to generate the classes
  • DefaultWebApiService.Core.cs.t4 is a t4 script

Web Api Service for LpdPhoneView

  • We do not describe step by step instructions
  • the settings are as follows:
Click to show the picture

project structure

Web Api Service for LprPhone01View

  • We do not describe step by step instructions
  • the settings are as follows:
Click to show the picture

project structure

Web Api Service for LprPhone02View

  • We do not describe step by step instructions
  • the settings are as follows:
Click to show the picture

project structure

Web Api Service for LprPhone03View

  • We do not describe step by step instructions
  • the settings are as follows:
Click to show the picture

project structure

Web Api Service for LprPhone04View

  • We do not describe step by step instructions
  • the settings are as follows:
Click to show the picture

project structure

Web Api Services for production

  • LpPhBkControllers is a destination project
    • Controllers is a destination folder
  • LpPhnPhBkContext- is a repo Dbcontext to generate the classes
  • DefaultWebApiService.Core.cs.t4 is a t4 script

Web Api Service for production LpdPhoneView

Web Api Service for production LprPhone01View

Web Api Service for production LprPhone02View

Web Api Service for production LprPhone03View

Web Api Service for production LprPhone04View

⚠️ **GitHub.com Fallback** ⚠️