C# Class AdoAdapters.AdoOutputAdapter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
BulkInsert void
GetAllProperties System.Reflection.PropertyInfo[]

Public Methods

Method Description
AdoOutputAdapter ( ) : System

Initializes a new instance of the AdoOutputAdapter class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this AdoOutputAdapter.

Initialize ( ) : void

Initializes this AdoOutputAdapter.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this AdoOutputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this AdoOutputAdapter.

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the AdoOutputAdapter object and optionally releases the managed resources.

ProcessMeasurements ( IMeasurement measurements ) : void

Archives measurements locally.

Private Methods

Method Description
BulkInsert ( IEnumerable measurements ) : void
GetAllProperties ( Type type ) : System.Reflection.PropertyInfo[]

Method Details

AdoOutputAdapter() public method

Initializes a new instance of the AdoOutputAdapter class.
public AdoOutputAdapter ( ) : System
return System

AttemptConnection() protected method

Attempts to connect to this AdoOutputAdapter.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from this AdoOutputAdapter.
protected AttemptDisconnection ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by the AdoOutputAdapter object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetShortStatus() public method

Gets a short one-line status of this AdoOutputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
return string

Initialize() public method

Initializes this AdoOutputAdapter.
public Initialize ( ) : void
return void

ProcessMeasurements() protected method

Archives measurements locally.
protected ProcessMeasurements ( IMeasurement measurements ) : void
measurements IMeasurement Measurements to be archived.
return void