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); }
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); }