Show / Hide Table of Contents

Class DbConfiguration

The information for a database configuration

Inheritance
System.Object
DbConfiguration
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class DbConfiguration : ValueType

Constructors

DbConfiguration(String, String, String, String, DeleteSessionOption)

Initializes a new instance of the DbConfiguration struct.

Declaration
public DbConfiguration(string dbEngine, string dataSource, string connectionIdentifier, string connectionString, DeleteSessionOption deleteSessionOnClose)
Parameters
Type Name Description
System.String dbEngine

The database engine.

System.String dataSource

The data source.

System.String connectionIdentifier

The connection identifier

System.String connectionString

The connection string.

DeleteSessionOption deleteSessionOnClose

Delete session on close

Properties

ConnectionIdentifier

Gets the connection identifier.

Declaration
public string ConnectionIdentifier { get; }
Property Value
Type Description
System.String

The connection identifier.

ConnectionString

Gets or sets the connection string.

Declaration
public string ConnectionString { get; }
Property Value
Type Description
System.String

The connection string.

DataSource

Gets or sets the data source.

Declaration
public string DataSource { get; }
Property Value
Type Description
System.String

The data source.

DbEngine

Gets or sets the database engine.

Declaration
public DbEngine DbEngine { get; }
Property Value
Type Description
DbEngine

The database engine.

DeleteSessionOnClose

Gets a value indicating [delete session on close] option.

Declaration
public DeleteSessionOption DeleteSessionOnClose { get; }
Property Value
Type Description
DeleteSessionOption

Session close deletion option.

Back to top Generated by DocFX