コード例 #1
0
        public static SERVICE.AgentPosDevice ToService(this DOMAIN.AgentPosDevice req)
        {
            var serviceModel = PsMapper.Map <DOMAIN.AgentPosDevice, SERVICE.AgentPosDevice>(req)
                               .AdditionalOperations();

            return(serviceModel);
        }
コード例 #2
0
 public static DOMAIN.AgentPosDevice AdditionalOperations(this DOMAIN.AgentPosDevice dmModel)
 {
     DomainTransformExtensions.NullifyWhiteSpaceStrings(dmModel);
     return(dmModel);
 }