using AutoMapper; using ECMJobRunner.Domain.Entities; using ECMJobRunner.Tests.DTOs; namespace ECMJobRunner.Tests.Mapping { /// /// AutoMapper profile for test DTOs /// public class TestMappingProfile : Profile { /// /// Constructor configuring test DTO mappings /// public TestMappingProfile() { // CfgProfileDto -> CfgProfile CreateMap() .ForMember(dest => dest.Id, opt => opt.Ignore()) .ForMember(dest => dest.SqlJobs, opt => opt.Ignore()) .ForMember(dest => dest.ProfileHistories, opt => opt.Ignore()); } } }