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, Boolean)
Initializes a new instance of the DbConfiguration struct.
Declaration
public DbConfiguration(string dbEngine, string dataSource, string connectionIdentifier, string connectionString, bool 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. |
System.Boolean | 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 whether [delete session on close].
Declaration
public bool DeleteSessionOnClose { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|