Interface ISqlConnectionFactory
Creates connection to SQL databases
Namespace: Gossip.Connection
Assembly: Gossip.dll
Syntax
public interface ISqlConnectionFactory
Methods
| Improve this Doc View SourceCreate(IConnectionString)
Create a database connection for a sql database
Declaration
ISqlConnection Create(IConnectionString connectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| IConnectionString | connectionString | Connection string |
Returns
| Type | Description |
|---|---|
| ISqlConnection | Database connection |
GetConnectionStringBuilder()
Gets a connection string builder
Declaration
IConnectionStringBuilder GetConnectionStringBuilder()
Returns
| Type | Description |
|---|---|
| IConnectionStringBuilder | Connection string builder |