see on GitHub

Attachments : Delete

DeleteAttachment is used to remove an attachment from a database.

Syntax

void DeleteAttachment(string key, Etag etag);

Parameters
key string key of an attachment to delete
etag Etag current attachment etag, used for concurrency checks (null to skip check)

Example

store
	.DatabaseCommands
	.DeleteAttachment("albums/holidays/sea.jpg", null);