1
yanjinhui
2025-06-12 0b81608b03c5e1e8a20db987dd04cb45bd94c1ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using AutoMapper;
 
namespace WIDESEAWCS_WCSServer.Filter
{
    /// <summary>
    /// 静态全局 AutoMapper 配置文件
    /// </summary>
    public class AutoMapperConfig
    {
        public static MapperConfiguration RegisterMappings()
        {
            return new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new CustomProfile());
            });
        }
    }
}