Table of Contents

Interface IDatabase

Namespace
Acuit.Pinpoint.Server
Assembly
Acuit.Pinpoint.Server.Interfaces.dll

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

IConfigurationRoot

ConnectionString

Gets the database connection string.

string ConnectionString { get; }

Property Value

string

Events

UnitRetrieved

Occurs when a unit is retrieved from the database.

event EventHandler<UnitRetrievedEventArgs> UnitRetrieved

Event Type

EventHandler<UnitRetrievedEventArgs>

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.