Még nem tökéletes, EF javítása

This commit is contained in:
2025-03-03 16:56:11 +01:00
parent d4bad04103
commit 2ad8ba2d51
10 changed files with 857 additions and 73 deletions
@@ -25,6 +25,8 @@ namespace WorkFlowCheck.BL.Mappings
CreateMap<CheckPoint, CheckPointDTO>();
CreateMap<Location, LocationDTO>();
CreateMap<Equipment, EquipmentDTO>();
CreateMap<CheckListHeader, CheckListHeaderDTO>()
.ForMember(dest => dest.CheckListRowDTO, opt => opt.MapFrom(src => src.CheckListRows));
}
}
}