AttachmentRepo Class

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

Repo for attachments.

public static class AttachmentRepo
Inheritance:
System.Object → AttachmentRepo

Methods

Delete(Int32) Permanently delete an Attachment from the repository.
Get(IEntity) Gets the Files attached to the specified entity.
Get(Int32) 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(Int32) Restore an Attachment from the trash.
Search(AttachmentQuery) Performs a search according to the specified AppQuery object.
Trash(Int32) Send an Attachment to the trash.
Update(Attachment) Updates an existing Attachment.