418.3 Creating Dtos for the Lookup Resource of PhbkDivision of ABP framework applications - chempkovsky/CS82ANGULAR GitHub Wiki

  • We do not create new WebApi service app for lookup resources but we will create one more DbContext in the current one. To avoid class names conflicts we will use different namespaces. To do that we create LpPhBk-folder in the rupbes.firstapp.Application.Contracts.csproj-project and generated Dto-classes must be saved in this folder.

  • here we repeat the steps described in the 036 Creating Views for the Modeling Lookup Resource of PhbkDivision-article.

  • LpdDivisionDto is defined as follows:

Click to show the picture

project structure

  • LprDivision01Dto is defined as follows:
Click to show the picture

project structure

  • LprDivision02Dto is defined as follows:
Click to show the picture

project structure

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