Interface IDatabase
Services provided by a database to plug-ins.
public interface IDatabase
Properties
Configuration
Gets the effective collection of key/value configuration settings for the database.
IConfigurationRoot Configuration { get; }
Property Value
ConnectionString
Gets the database connection string.
string ConnectionString { get; }
Property Value
Events
UnitRetrieved
Occurs when a unit is retrieved from the database.
event EventHandler<UnitRetrievedEventArgs> UnitRetrieved
Event Type
Remarks
Line plug-ins that add an event handler must also implement IDisposable and remove the event handler when being disposed. Otherwise, any time the line is reconfigured, new event handlers will be added on top of the existing ones.