TransactionalEdit Class

Provides the state information for a transaction on the file system.

Definition

Namespace: SnapDB.IO.FileStructure
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public sealed class TransactionalEdit : IDisposable
Inheritance
Object    TransactionalEdit
Implements
IDisposable

Remarks

Failing to call Commit or Rollback will inhibit additional transactions to be acquired.

Properties

ArchiveType The GUID for this archive type.
Files A list of all of the files in this collection.

Methods

CommitAndDispose This will cause the transaction to be written to the database. Also calls Dispose().
CreateFile Creates and opens a new file on the current file system.
Dispose Releases all the resources used by the ReadSnapshot object.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
OpenFile(Int32) Opens a ArchiveFileStream that can be used to read/write to the file passed to this function.
OpenFile(SubFileName) Opens a ArchiveFileStream that can be used to read and write to the file passed to this function.
RollbackAndDispose This will rollback the transaction by not writing the table of contents to the file.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also