Show / Hide Table of Contents

Interface IRecordersConfiguration

The database configuration for each recorder

Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface IRecordersConfiguration

Methods

AddConfiguration(Guid, String, String, String, String, Boolean)

Adds the configuration for the specific recorder.

Declaration
void AddConfiguration(Guid recorderId, string dbEngine, string dataSource, string connectionIdentifier, string connectionString, bool deleteSessionOnClose)
Parameters
Type Name Description
System.Guid recorderId

The recorder identifier.

System.String dbEngine

The database engine.

System.String dataSource

The data source.

System.String connectionIdentifier

The connection identifier.

System.String connectionString

The connection string.

System.Boolean deleteSessionOnClose

if set to true [delete session on close].

GetAllConfigs()

Gets all configs.

Declaration
IReadOnlyList<DbConfiguration> GetAllConfigs()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<DbConfiguration>

RemoveConfiguration(Guid)

Removes the configuration.

Declaration
void RemoveConfiguration(Guid recorderId)
Parameters
Type Name Description
System.Guid recorderId

The recorder identifier.

Events

NewDatabaseAdded

Occurs when [new database added].

Declaration
event EventHandler<DbConfiguration> NewDatabaseAdded
Event Type
Type Description
System.EventHandler<DbConfiguration>
Back to top Generated by DocFX