418.9 Repositories for Lookup Resource Entities of ABP framework applications - chempkovsky/CS82ANGULAR GitHub Wiki
- Now we must generate
Repository-classes for LpdDivision, LprDivision01 and LprDivision02 entities of the LpPhbkDbContext-DbContext.
- Modify Directory.Build.props-files (we have two files) to switch the solution in the modeling mode.
- Right click
LpPhBk-folder of the rupbes.firstapp.Domain.csproj-project
- in the pop-up menu select
WebApi Services Wizard
Click to show the picture

- on the second page select
LpPbkDbContext-DbContext
Click to show the picture

- on the third page select
LpdDivisionDto-Dto and 1 IRepository (Interface)
Click to show the picture

- on the fourth page select
AbpSimpleRepositoryInterface.Core.cs.t4-script, click Next and Save buttons
Click to show the picture

- repeat the same for
LprDivision01Dto
Click to show the picture

- repeat the same for
LprDivision02Dto
Click to show the picture

- Right click
LpPhBk-folder of the rupbes.firstapp.EntityFrameworkCore.csproj-project
- in the pop-up menu select
WebApi Services Wizard
- on the second page select
LpPbkDbContext-DbContext
- on the third page select
LpdDivisionDto-Dto (LprDivision01Dto, LprDivision02Dto) and 2 Repository(Class)
- on the fourth page select
AbpSimpleRepositoryClass.Core.cs.t4-script, click Next and Save buttons
Click to show the picture

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