Table of Contents

Interface IDatabase

Namespace
RisingV.Shared.Databases
Assembly
RisingV.Shared.dll
public interface IDatabase : IDataCrud, IManageableLifecycle<DatabaseManager>, IManageableLifecycle, IReloadable, IManageable<DatabaseManager>, IManageable
Inherited Members
Extension Methods

Properties

IsInitialized

Indicates whether the database has been initialized.

bool IsInitialized { get; }

Property Value

bool

IsLoaded

Indicates whether the database has been loaded.

bool IsLoaded { get; }

Property Value

bool

Name

string Name { get; }

Property Value

string

Methods

Clear(DatabaseManager)

Clears the database, removing all data.

void Clear(DatabaseManager manager)

Parameters

manager DatabaseManager

Reload(DatabaseManager)

Reloads the database from its source.

void Reload(DatabaseManager manager)

Parameters

manager DatabaseManager

ThrowOnLoadFailure()

Should we throw an exception if the database fails to load.

bool ThrowOnLoadFailure()

Returns

bool

Unload(DatabaseManager)

Unloads the database, clearing its data.

void Unload(DatabaseManager manager)

Parameters

manager DatabaseManager

VerifySource()

Verify the source of the database.

void VerifySource()