Click or drag to resize

RemReportRepDeletedDoc Method

Paperwork .Net Kütüphanesi
Silinin dokümanların raporu için kullanılır.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public rRepDeletedDoc RepDeletedDoc(
	bool onlyParams,
	DateTime beginDate,
	DateTime endDate,
	string deleter,
	string storageId,
	string typeName,
	string formatId,
	int pageIndex
)

Parameters

onlyParams
Type: SystemBoolean
true - false
beginDate
Type: SystemDateTime
Başlangıç Tarihi
endDate
Type: SystemDateTime
Bitiş Tarihi
deleter
Type: SystemString
storageId
Type: SystemString
Storge ID
typeName
Type: SystemString
Tip Adı
formatId
Type: SystemString
Format ID
pageIndex
Type: SystemInt32
Sayfa index alanı

Return Value

Type: rRepDeletedDoc
Examples
C#
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;
    }
}
See Also