C# 클래스 Raven.Storage.Managed.TransactionStorageActions

상속: ITransactionStorageActions
파일 보기 프로젝트 열기: nhsevidence/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
AddDocumentInTransaction ( string key, System.Guid etag, RavenJObject data, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System.Guid
CompleteTransaction ( System.Guid txId, Action perDocumentModified ) : void
DeleteDocumentInTransaction ( Raven.Abstractions.Data.TransactionInformation transactionInformation, string key, System.Guid etag ) : void
GetTransactionIds ( ) : IEnumerable
ModifyTransactionId ( System.Guid fromTxId, System.Guid toTxId, System.TimeSpan timeout ) : void
RollbackTransaction ( System.Guid txId ) : void
TransactionExists ( System.Guid txId ) : bool
TransactionStorageActions ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System

비공개 메소드들

메소드 설명
AssertValidEtag ( string key, Table doc, Table docInTx, System.Guid etag ) : void

메소드 상세

AddDocumentInTransaction() 공개 메소드

public AddDocumentInTransaction ( string key, System.Guid etag, RavenJObject data, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System.Guid
key string
etag System.Guid
data RavenJObject
metadata RavenJObject
transactionInformation Raven.Abstractions.Data.TransactionInformation
리턴 System.Guid

CompleteTransaction() 공개 메소드

public CompleteTransaction ( System.Guid txId, Action perDocumentModified ) : void
txId System.Guid
perDocumentModified Action
리턴 void

DeleteDocumentInTransaction() 공개 메소드

public DeleteDocumentInTransaction ( Raven.Abstractions.Data.TransactionInformation transactionInformation, string key, System.Guid etag ) : void
transactionInformation Raven.Abstractions.Data.TransactionInformation
key string
etag System.Guid
리턴 void

GetTransactionIds() 공개 메소드

public GetTransactionIds ( ) : IEnumerable
리턴 IEnumerable

ModifyTransactionId() 공개 메소드

public ModifyTransactionId ( System.Guid fromTxId, System.Guid toTxId, System.TimeSpan timeout ) : void
fromTxId System.Guid
toTxId System.Guid
timeout System.TimeSpan
리턴 void

RollbackTransaction() 공개 메소드

public RollbackTransaction ( System.Guid txId ) : void
txId System.Guid
리턴 void

TransactionExists() 공개 메소드

public TransactionExists ( System.Guid txId ) : bool
txId System.Guid
리턴 bool

TransactionStorageActions() 공개 메소드

public TransactionStorageActions ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System
storage Raven.Storage.Managed.Impl.TableStorage
generator IUuidGenerator
documentCodecs OrderedPartCollection
리턴 System