1234567891011121314151617181920212223242526272829 |
- using AutoMapper;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace ClassicCpuCardApp
- {
- class AutoMapperProfile : Profile
- {
- public AutoMapperProfile()
- {
- ShouldMapField = fi => false;
- //CreateMap<Transaction, TransactionInputDto>().ReverseMap();
- //CreateMap<Transaction, TransactionOutputDto>().ReverseMap();
- //CreateMap<FuelItem, FuelItemDto>().ReverseMap();
- //CreateMap<Gateway.POS.Models.Payment, PaymentInputDto>().ReverseMap();
- //CreateMap<Gateway.POS.Models.Payment, PaymentOutputDto>().ReverseMap();
- //CreateMap<Operator, OperatorOutputDto>().ReverseMap();
- //CreateMap<Discount, DiscountDto>().ReverseMap();
- //CreateMap<ProbeConfig, Probe>().ReverseMap();
- //CreateMap<ProductConfig, Product>().ReverseMap();
- //CreateMap<Edge.Core.IndustryStandardInterface.ATG.Alarm, ATG_Classic_App.Model.Alarm>().ReverseMap();
- //CreateMap<Edge.Core.IndustryStandardInterface.ATG.Inventory, ATG_Classic_App.Model.Inventory>().ReverseMap();
- //CreateMap<Edge.Core.IndustryStandardInterface.ATG.Delivery, ATG_Classic_App.Model.Delivery>().ReverseMap();
- }
- }
- }
|