C# Class DBreeze.DBreezeEngine

Main DBreeze Database class.
Inheritance: IDisposable
Mostra file Open project: hhblaze/DBreeze Class Usage Examples

Public Properties

Property Type Description
BackgroundTasksExternalNotifier object>.Action

Public Methods

Method Description
DBreezeEngine ( DBreezeConfiguration dbreezeConfiguration ) : System

Dbreeze instantiator

DBreezeEngine ( string DBreezeDataFolderName ) : System

Dispose ( ) : void

Dispose

GetTransaction ( ) : Transaction

Returns transaction object.

GetTransaction ( eTransactionTablesLockTypes tablesLockType ) : Transaction

Returns transaction object.

Private Methods

Method Description
BackgroundNotify ( string noti, object obj ) : void

Notifier about background events.

ConstructFromConfiguration ( DBreezeConfiguration dbreezeConfiguration ) : void

Constructing Dbreeze from dbreezeConfiguration

DBreezeEngine ( ) : System

For DbreezeRemoteEngine wrapper

InitDb ( ) : void

InitDb

Method Details

DBreezeEngine() public method

Dbreeze instantiator
public DBreezeEngine ( DBreezeConfiguration dbreezeConfiguration ) : System
dbreezeConfiguration DBreezeConfiguration
return System

DBreezeEngine() public method

public DBreezeEngine ( string DBreezeDataFolderName ) : System
DBreezeDataFolderName string
return System

Dispose() public method

Dispose
public Dispose ( ) : void
return void

GetTransaction() public method

Returns transaction object.
public GetTransaction ( ) : Transaction
return Transaction

GetTransaction() public method

Returns transaction object.
public GetTransaction ( eTransactionTablesLockTypes tablesLockType ) : Transaction
tablesLockType eTransactionTablesLockTypes /// SHARED: threads can use listed tables in parallel. Must be used together with tran.SynchronizeTables command, if necessary. /// EXCLUSIVE: if other threads use listed tables for reading or writing, current thread will be in a waiting queue. ///
return Transaction

Property Details

BackgroundTasksExternalNotifier public_oe property

DBreeze may execute some tasks in the background (like deffered text indexing). External delegate can receive notifications about that.
public Action BackgroundTasksExternalNotifier
return object>.Action