/// <summary> /// Open Connection with Connection String /// </summary> /// <param name="connectionString"></param> public void OpenConnection(string connectionString) { _context = new AccountManagementDatabase(connectionString); }
/// <summary> /// Open Connection /// </summary> public Object OpenConnection() { _context = new AccountManagementDatabase(); return(_context); }
public void OpenConnection(Object dbConnection) { _context = (AccountManagementDatabase)dbConnection; }
/// <summary> /// /// </summary> public void CloseConnection() { _transaction = null; _context = null; }