Beispiel #1
0
        public static IExceptionDO MapExceptionPOtoDO(ExceptionPO exceptionPO)
        {
            IExceptionDO oException = new ExceptionDO();

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

            return(oException);
        }
Beispiel #2
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);
        }