C# Class Raven.Storage.Managed.AttachmentsStorageActions

Inheritance: IAttachmentsStorageActions
Mostra file Open project: markrendle/ravendb Class Usage Examples

Public Methods

Method Description
AddAttachment ( string key, System.Guid etag, byte data, JObject headers ) : void
DeleteAttachment ( string key, System.Guid etag ) : void
GetAttachment ( string key ) : Attachment

Private Methods

Method Description
EnsureValidEtag ( string key, long attachmentPosition, System.Guid etag ) : void

Method Details

AddAttachment() public method

public AddAttachment ( string key, System.Guid etag, byte data, JObject headers ) : void
key string
etag System.Guid
data byte
headers JObject
return void

DeleteAttachment() public method

public DeleteAttachment ( string key, System.Guid etag ) : void
key string
etag System.Guid
return void

GetAttachment() public method

public GetAttachment ( string key ) : Attachment
key string
return Attachment