![]() | RemReportRepJobHistory Method |
Namespace: Paperwork.Connect
public rRepJobHistory RepJobHistory( bool onlyParams, string jobId, string status, DateTime beginDate, DateTime endDate, int beginRec, int endRec )
public void RepDeletedDoc() { p.rReport.RepDeletedDoc(false,beginDate.HasValue?beginDate.Value:default(DateTime),endDate.HasValue?endDate.Value:default(DateTime),loginName,storageId,docType,format,pageIndex,((s,e) => { try { foreach (rRepDeletedDocItem row in e.Result.Items) Result.Add(new DeletedResult() { DelDate = row.DelDate == null ? (DateTime?)null : row.DelDate, Deleter = row.UserName, ObjectName = row.ObjectName, Storage = row.StorageId, DocType = row.TypeTitle, DocFormat = row.FormatId, ContentSize = row.ContentSize, ObjectId = row.ObjectId }); this.PageCount = Result.Count == 0 ? 1 : (TotalRecCount / Result.Count); this.Size = DBUtil.dbStr(e.Result.TotalSize); this.TotalRecCount = DBUtil.dbInt(e.Result.TotalItems); dSet = e.Result; } }