コード例 #1
0
        public FileRemarkTable GetFileRemarksByFileId(Guid FileId)
        {
            FileRemarkTable dtfileRemarks = new FileRemarkTable();

            try
            {
                dtfileRemarks = FileManager.GetFileRemarks(FileId);
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }
            return(dtfileRemarks);
        }
コード例 #2
0
        public FileRemarkTable GetFileMasterDetails()
        {
            FileRemarkTable dtFileremark = new FileRemarkTable();

            try
            {
                dtFileremark = IgrssAdapters.FileRemarkAdapter.GetData();
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }

            return(dtFileremark);
        }
コード例 #3
0
ファイル: FileManager.cs プロジェクト: UrviGandhi/IGRSS
        /// <summary>
        /// Gets all the Remarks that have been added till now for the specified File
        /// </summary>
        /// <param name="FileId">Id of the file for which Remarks will be returned</param>
        /// <returns>DataSet containing all the Remarks made on this File till now</returns>
        public static FileRemarkTable GetFileRemarks(Guid FileId)
        {
            FileRemarkTable ds = new FileRemarkTable();

            if (FileId != Guid.Empty)
            {
                try
                {
                    ds = IgrssAdapters.FileRemarkAdapter.GetFileRemarksByFileId(FileId);
                }
                catch (Exception ex)
                {
                    if (ExceptionPolicy.HandleException(ex, "DAL"))
                    {
                        throw;
                    }
                }
            }
            return(ds);
        }
コード例 #4
0
ファイル: FileManager.cs プロジェクト: UrviGandhi/IGRSS
 /// <summary>
 /// Gets all the Remarks that have been added till now for the specified File
 /// </summary>
 /// <param name="FileId">Id of the file for which Remarks will be returned</param>
 /// <returns>DataSet containing all the Remarks made on this File till now</returns>
 public static FileRemarkTable GetFileRemarks(Guid FileId)
 {
     FileRemarkTable ds = new FileRemarkTable();
     if (FileId != Guid.Empty)
     {
         try
         {
             ds = IgrssAdapters.FileRemarkAdapter.GetFileRemarksByFileId(FileId);
         }
         catch (Exception ex)
         {
             if (ExceptionPolicy.HandleException(ex, "DAL"))
                 throw;
         }
     }
     return ds;
 }
コード例 #5
0
ファイル: FileManagement.cs プロジェクト: UrviGandhi/IGRSS
 public FileRemarkTable GetFileRemarksByFileId(Guid FileId)
 {
     FileRemarkTable dtfileRemarks = new FileRemarkTable();
     try
     {
         dtfileRemarks = FileManager.GetFileRemarks(FileId);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
         throw;
     }
     return dtfileRemarks;
 }
コード例 #6
0
ファイル: FileManagement.cs プロジェクト: UrviGandhi/IGRSS
        public FileRemarkTable GetFileMasterDetails()
        {
            FileRemarkTable dtFileremark = new FileRemarkTable();
            try
            {
               dtFileremark = IgrssAdapters.FileRemarkAdapter.GetData();
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
            }

            return dtFileremark;
        }