C# Class Deveel.Data.DatabaseSystem

Inheritance: ISystem
Show file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
DatabaseSystem System
Dispose void
RemoveDatabase void

Public Methods

Method Description
CloseDatabase ( string databaseName ) : bool
CreateDatabase ( IConfiguration configuration, string adminUser, string identification, string token ) : IDatabase
DatabaseExists ( string databaseName ) : bool
DeleteDatabase ( string databaseName ) : bool
Dispose ( ) : void
GetDatabase ( string databaseName ) : IDatabase
GetDatabases ( ) : IEnumerable
OpenDatabase ( IConfiguration configuration ) : IDatabase

Protected Methods

Method Description
GetMetadata ( object>.Dictionary metadata ) : void

Private Methods

Method Description
DatabaseSystem ( ISystemContext context, IEnumerable modules ) : System
Dispose ( bool disposing ) : void
RemoveDatabase ( Database database ) : void

Method Details

CloseDatabase() public method

public CloseDatabase ( string databaseName ) : bool
databaseName string
return bool

CreateDatabase() public method

public CreateDatabase ( IConfiguration configuration, string adminUser, string identification, string token ) : IDatabase
configuration IConfiguration
adminUser string
identification string
token string
return IDatabase

DatabaseExists() public method

public DatabaseExists ( string databaseName ) : bool
databaseName string
return bool

DeleteDatabase() public method

public DeleteDatabase ( string databaseName ) : bool
databaseName string
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetDatabase() public method

public GetDatabase ( string databaseName ) : IDatabase
databaseName string
return IDatabase

GetDatabases() public method

public GetDatabases ( ) : IEnumerable
return IEnumerable

GetMetadata() protected method

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
return void

OpenDatabase() public method

public OpenDatabase ( IConfiguration configuration ) : IDatabase
configuration IConfiguration
return IDatabase