C# Class Raven.Storage.Managed.AttachmentsStorageActions

Inheritance: IAttachmentsStorageActions
Afficher le fichier Open project: markrendle/ravendb Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
EnsureValidEtag ( string key, long attachmentPosition, System.Guid etag ) : void

Method Details

AddAttachment() public méthode

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

DeleteAttachment() public méthode

public DeleteAttachment ( string key, System.Guid etag ) : void
key string
etag System.Guid
Résultat void

GetAttachment() public méthode

public GetAttachment ( string key ) : Attachment
key string
Résultat Attachment