Table of Contents

Class SQLDatabase

Namespace
The.SQLServer
Assembly
Instagile.SQLServer.dll
public class SQLDatabase : PooledDatabase, IDatabase
Inheritance
SQLDatabase
Implements
Derived
Inherited Members

Constructors

SQLDatabase(string, TimeSpan?)

public SQLDatabase(string connectionString, TimeSpan? timeout = null)

Parameters

connectionString string
timeout TimeSpan?

Fields

ConnectionString

protected readonly SqlConnectionStringBuilder ConnectionString

Field Value

SqlConnectionStringBuilder

Methods

ChangeDatabase(string)

Switches to a different database on the same server.

public void ChangeDatabase(string name)

Parameters

name string

CreateConnection()

protected override DbConnection CreateConnection()

Returns

DbConnection