AttachmentRepo Class

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Repo for attachments.

public static class AttachmentRepo
Inheritance:
System.Object → AttachmentRepo

Methods

Delete(int) Permanently delete an Attachment from the repository.
Get(IEntity) Gets the Files attached to the specified entity.
Get(int) Gets the specified Attachment from the repository.
Get(Int32[]) Get the specified Attachments from the repository.
Insert(Attachment) Inserts an Attachment object into the repository.
Restore(int) Restore an Attachment from the trash.
Search(AttachmentQuery) Performs a search according to the specified AppQuery object.
Trash(int) Send an Attachment to the trash.
Update(Attachment) Updates an existing Attachment.