Table of Contents

Interface IDatabaseConnectionConfiguration

Namespace
OrpheusInterfaces.Configuration
Assembly
OrpheusInterfaces.dll

Database connection configuration.

public interface IDatabaseConnectionConfiguration

Properties

ConfigurationName

string ConfigurationName { get; set; }

Property Value

string

Database configuration name.

ConnectionIdleTimeout

Time, in seconds, a connection can remain idle in the pool before being removed. Default: 300.

int ConnectionIdleTimeout { get; set; }

Property Value

int

DatabaseName

string DatabaseName { get; set; }

Property Value

string

The database name.

EncyrptConnection

Set if the connection will be encrytped or not.

EncyrptConnection EncyrptConnection { get; set; }

Property Value

EncyrptConnection

MaxPoolSize

Maximum number of connections allowed in the pool. Default: 100.

int MaxPoolSize { get; set; }

Property Value

int

MinPoolSize

Minimum number of connections maintained in the pool. Default: 0.

int MinPoolSize { get; set; }

Property Value

int

Password

string Password { get; set; }

Property Value

string

Password.

Pooling

Whether ADO.NET connection pooling is enabled. Default: true.

bool Pooling { get; set; }

Property Value

bool

Port

int Port { get; set; }

Property Value

int

Port number. Optional — uses the DB engine default when 0.

Server

string Server { get; set; }

Property Value

string

Server name or IP address.

ServicePassword

string ServicePassword { get; set; }

Property Value

string

Implicitly Orpheus makes a second connection to the database, to perform mainly schema related/DDL functionality. The ServicePassword is the one that will be used for that connection.

ServiceUserName

string ServiceUserName { get; set; }

Property Value

string

Implicitly Orpheus makes a second connection to the database, to perform mainly schema related/DDL functionality. The ServiceUserName is the one that will be used for that connection.

TrustServerCertificate

True to trust the server certificate. Default is true.

bool TrustServerCertificate { get; set; }

Property Value

bool

UseIntegratedSecurity

bool UseIntegratedSecurity { get; set; }

Property Value

bool

SQL Server specific.

UseIntegratedSecurityForServiceConnection

bool UseIntegratedSecurityForServiceConnection { get; set; }

Property Value

bool

Implicitly Orpheus makes a second connection to the database, to perform mainly schema related/DDL functionality. This boolean sets this second connection, integrated security setting.

UserName

string UserName { get; set; }

Property Value

string

User name.

Methods

Clone()

Creates a clone of this database configuration.

IDatabaseConnectionConfiguration Clone()

Returns

IDatabaseConnectionConfiguration