Epiworx.Business.AttachmentRepository.AttachmentFetchInfoList C# (CSharp) Method

AttachmentFetchInfoList() public static method

public static AttachmentFetchInfoList ( AttachmentDataCriteria criteria ) : AttachmentInfoList
criteria AttachmentDataCriteria
return AttachmentInfoList
        public static AttachmentInfoList AttachmentFetchInfoList(AttachmentDataCriteria criteria)
        {
            return AttachmentInfoList.FetchAttachmentInfoList(criteria);
        }

Same methods

AttachmentRepository::AttachmentFetchInfoList ( int sourceId, SourceType sourceType ) : AttachmentInfoList

Usage Example

 public static AttachmentInfoList AttachmentFetchInfoList(int[] sourceId, SourceType sourceType)
 {
     return
         (AttachmentRepository.AttachmentFetchInfoList(
              new AttachmentDataCriteria
     {
         SourceId = sourceId,
         SourceTypeId = (int)sourceType
     }));
 }