AttachmentService.Insert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Insert(Attachment, IHasAttachments, bool)

Insert an attachment.

public static Attachment Insert(Attachment attachment, IHasAttachments parent, bool auth = true)

Parameters

attachment
Attachment

The attachment to insert.

parent
IHasAttachments

The entity where the file is attached.

auth
bool

Returns

Attachment

The inserted attachment.