Method GetDbConnetion
GetDbConnetion(IDictionary, String)
Establishes a connection with Database.
Declaration
protected abstract DbConnection GetDbConnetion(IDictionary parameters, string cacheName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IDictionary | parameters | A dictionary having parameters like ConnectionString etc. |
System.String | cacheName |
Returns
Type | Description |
---|---|
System.Data.Common.DbConnection | Represents a connection to database. |