Esempio n. 1
0
        public static ExceptionPO MapExceptionDOtoPO(IExceptionDO exceptionDO)
        {
            var oException = new ExceptionPO();

            oException.LogID            = exceptionDO.LogID;
            oException.ExceptionMessage = exceptionDO.ExceptionMessage;
            oException.ExceptionType    = exceptionDO.ExceptionType;
            oException.ExceptionSource  = exceptionDO.ExceptionSource;
            oException.ExceptionURL     = exceptionDO.ExceptionURL;
            oException.LogDate          = exceptionDO.LogDate;

            return(oException);
        }
Esempio n. 2
0
        public static IExceptionBO MapExceptionDOtoBO(IExceptionDO exceptionBO)
        {
            IExceptionBO oException = new ExceptionBO();

            oException.LogID            = exceptionBO.LogID;
            oException.ExceptionMessage = exceptionBO.ExceptionMessage;
            oException.ExceptionType    = exceptionBO.ExceptionType;
            oException.ExceptionSource  = exceptionBO.ExceptionSource;
            oException.ExceptionURL     = exceptionBO.ExceptionURL;
            oException.LogDate          = exceptionBO.LogDate;

            return(oException);
        }