| DataObjectControllerGetFileAttachments Method |
Gets file attachments from a data object.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static Collection<Attachment> GetFileAttachments(
int dataObjectId,
string matchingSuffix,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- dataObjectId
- Type: SystemInt32
DataObject id from which the files are to be extracted - matchingSuffix
- Type: SystemString
only file names ending with matchingSuffix will be attached to the collection, if it is empty all the file would be attached. - dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
CollectionAttachment
See Also