C# Class Epiworx.Business.AttachmentRepository

Show file Open project: mattruma/epiworx-csla Class Usage Examples

Public Methods

Method Description
AttachmentDelete ( Attachment attachment ) : bool
AttachmentDelete ( int attachmentId ) : bool
AttachmentFetch ( int attachmentId ) : Attachment
AttachmentFetchInfoList ( AttachmentDataCriteria criteria ) : AttachmentInfoList
AttachmentFetchInfoList ( int sourceId, SourceType sourceType ) : AttachmentInfoList
AttachmentInsert ( Attachment attachment ) : Attachment
AttachmentNew ( int sourceId, SourceType sourceType ) : Attachment
AttachmentSave ( Attachment attachment ) : Attachment
AttachmentUpdate ( Attachment attachment ) : Attachment

Method Details

AttachmentDelete() public static method

public static AttachmentDelete ( Attachment attachment ) : bool
attachment Attachment
return bool

AttachmentDelete() public static method

public static AttachmentDelete ( int attachmentId ) : bool
attachmentId int
return bool

AttachmentFetch() public static method

public static AttachmentFetch ( int attachmentId ) : Attachment
attachmentId int
return Attachment

AttachmentFetchInfoList() public static method

public static AttachmentFetchInfoList ( AttachmentDataCriteria criteria ) : AttachmentInfoList
criteria AttachmentDataCriteria
return AttachmentInfoList

AttachmentFetchInfoList() public static method

public static AttachmentFetchInfoList ( int sourceId, SourceType sourceType ) : AttachmentInfoList
sourceId int
sourceType SourceType
return AttachmentInfoList

AttachmentInsert() public static method

public static AttachmentInsert ( Attachment attachment ) : Attachment
attachment Attachment
return Attachment

AttachmentNew() public static method

public static AttachmentNew ( int sourceId, SourceType sourceType ) : Attachment
sourceId int
sourceType SourceType
return Attachment

AttachmentSave() public static method

public static AttachmentSave ( Attachment attachment ) : Attachment
attachment Attachment
return Attachment

AttachmentUpdate() public static method

public static AttachmentUpdate ( Attachment attachment ) : Attachment
attachment Attachment
return Attachment