222
schangxiang@126.com
2025-05-12 727ed59c834554dfea2afc77a883f1545c9165a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using AutoMapper;
using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.MyTestEntityNames;
using CMS.Plugin.PipeLineLems.Domain.MyTestEntityNames;
using Volo.Abp.ObjectExtending;
 
namespace CMS.Plugin.PipeLineLems.Application.MapperProfiles;
 
/// <summary>
/// AutoMapper配置
/// </summary>
/// <seealso cref="AutoMapper.Profile" />
public class MyTestEntityNameAutoMapperProfile : Profile
{
    /// <summary>
    /// Initializes a new instance of the <see cref="MyTestEntityNameAutoMapperProfile"/> class.
    /// </summary>
    public MyTestEntityNameAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<MyTestEntityName, MyTestEntityNameDto>(MemberList.None).MapExtraProperties(MappingPropertyDefinitionChecks.None);
    }
}