protected override void OnViewLoaded() { Param = new TraceParameter() { TraceTimeEnd = DateTime.Today, TraceTimeStart = DateTime.Today }; TraceList = TraceService.QueryT_Trace(Param); base.OnViewLoaded(); }
public FormMain() { InitializeComponent(); reqDBBrowser = new ReqProProject(this as ReqProProject.IReqProProjectCb); arrTraceGraphNode = new List <ReqTraceUIGraphNode>(); tracePar = new TraceParameter(); listnReqTypeTracedKeyExcl = new List <int>(); listnReqTypeRootKeyExcl = new List <int>(); tabDetails.TabPages.Remove(tabPageQuickSearchResults); tabDetails.TabPages.Remove(tabPageSearchResults); }
public IList <T_Trace> QueryT_Trace(TraceParameter traceParameter) { if (traceParameter.TraceTimeEnd.HasValue) { traceParameter.RealTraceTimeEnd = traceParameter.TraceTimeEnd.Value.AddDays(1); } else { traceParameter.RealTraceTimeEnd = null; } return(traceDAO.QueryT_Trace(traceParameter)); }
public IList <T_Trace> QueryT_Trace(TraceParameter traceParameter) { return(mapper.QueryForList <T_Trace>("QueryT_Trace", traceParameter)); }