Click or drag to resize

DatabaseConfigurationLoader Class

Represents a configuration loader that gets its configuration from a database connection.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeries.ConfigurationConfigurationLoaderBase
    GSF.TimeSeries.ConfigurationDatabaseConfigurationLoader

Namespace: GSF.TimeSeries.Configuration
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public class DatabaseConfigurationLoader : ConfigurationLoaderBase, 
	IDisposable
View Source

The DatabaseConfigurationLoader type exposes the following members.

Constructors
 NameDescription
Public methodDatabaseConfigurationLoaderInitializes a new instance of the DatabaseConfigurationLoader class
Top
Properties
 NameDescription
Public propertyCanAugment Gets the flag that indicates whether augmentation is supported by this configuration loader.
(Overrides ConfigurationLoaderBaseCanAugment)
Public propertyConnectionString Gets or sets the connection string which defines how to connect to the database.
Public propertyDataProviderString Gets or sets the data provider string, which determines the .NET types to use when opening connections to the database.
Protected propertyLog Log messages generated by an adapter.
(Inherited from ConfigurationLoaderBase)
Public propertyNodeIDQueryString Gets or sets the string to use in queries when filtering results by node ID.
Top
Methods
 NameDescription
Public methodAugment Augments the given configuration data set with the changes tracked since the version of the given configuration data set.
(Overrides ConfigurationLoaderBaseAugment(DataSet))
Public methodClose Closes the database connection.
Public methodDispose Releases all the resources used by the DatabaseConfigurationLoader object.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoad Loads the entire configuration data set from scratch.
(Overrides ConfigurationLoaderBaseLoad)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnProcessException Raises the ProcessException event.
(Inherited from ConfigurationLoaderBase)
Protected methodOnStatusMessage Raises the StatusMessage event and sends this data to the Logger.
(Inherited from ConfigurationLoaderBase)
Public methodOpen Opens the database connection.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventProcessException Occurs when the configuration loader encounters a non-catastrophic exception.
(Inherited from ConfigurationLoaderBase)
Public eventStatusMessage Occurs when the configuration loader has a message to provide about its current status.
(Inherited from ConfigurationLoaderBase)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also