AttachmentService Class
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Service layer for attachments.
public static class AttachmentService
- Inheritance:
- System.Object → AttachmentService
Methods
Delete(int, bool) | Permanently deletes an attachment from the repository. |
Get(int, bool, bool) | Gets an Attachment from the repository. |
Get |
Creates a zip archive with the specified attachments. |
Get |
Get closest (previous and next) siblings for the specified attachment. |
Insert(Attachment, IHas |
Insert an attachment. |
Restore(int, bool) | Restores an Attachment from the trash. |
Search(Attachment |
Performs a search according to the specified Query object. |
Trash(int, bool) | Sends an Attachment to the trash. |
Update(Attachment, bool) | Update an attachment. |