C# Class LightningDB.LightningDatabase

Lightning database.
Inheritance: IDisposable
Show file Open project: CoreyKaylor/Lightning.NET Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Deallocates resources opeened by the database.

Drop ( LightningTransaction transaction ) : void

Drops the database.

Handle ( ) : uint
Truncate ( LightningTransaction transaction ) : void

Truncates all data from the database.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Deallocates resources opened by the database.

Private Methods

Method Description
LightningDatabase ( string name, LightningTransaction transaction, DatabaseConfiguration configuration ) : System

Creates a LightningDatabase instance.

Method Details

Dispose() public method

Deallocates resources opeened by the database.
public Dispose ( ) : void
return void

Dispose() protected method

Deallocates resources opened by the database.
protected Dispose ( bool disposing ) : void
disposing bool true if called from Dispose.
return void

Drop() public method

Drops the database.
public Drop ( LightningTransaction transaction ) : void
transaction LightningTransaction
return void

Handle() public method

public Handle ( ) : uint
return uint

Truncate() public method

Truncates all data from the database.
public Truncate ( LightningTransaction transaction ) : void
transaction LightningTransaction
return void