public static ExceptionLogViewItem GetExceptionLogViewItem(LoginUser loginUser, int exceptionLogID) { ExceptionLogView exceptionLogView = new ExceptionLogView(loginUser); exceptionLogView.LoadByExceptionLogID(exceptionLogID); if (exceptionLogView.IsEmpty) { return(null); } else { return(exceptionLogView[0]); } }
public ExceptionLogViewItem(DataRow row, ExceptionLogView exceptionLogView) : base(row, exceptionLogView) { _exceptionLogView = exceptionLogView; }