Show / Hide Table of Contents

Class GetDbConnection

This implementation of IGetDbConnection will create a System.Data.SqlClient.SqlConnection object when provided a Database object.

Inheritance
System.Object
GetDbConnection
Implements
IGetDbConnection
Namespace: Albatross.Database.SqlServer
Assembly: Albatross.Database.SqlServer.dll
Syntax
public class GetDbConnection : IGetDbConnection

Constructors

| Improve this Doc View Source

GetDbConnection(IGetConnectionString)

Declaration
public GetDbConnection(IGetConnectionString getConnectionString)
Parameters
Type Name Description
IGetConnectionString getConnectionString

Methods

| Improve this Doc View Source

Get(Database)

Declaration
public IDbConnection Get(Database database)
Parameters
Type Name Description
Database database
Returns
Type Description
System.Data.IDbConnection

Implements

IGetDbConnection
  • Improve this Doc
  • View Source
Back to top Copyright © 2018