public void OpenConnection(Object dbConnection) { _context = (ZeroErpManagementDatabase)dbConnection; }
/// <summary> /// Open Connection /// </summary> public Object OpenConnection() { _context = new ZeroErpManagementDatabase(); return(_context); }
public void OpenConnection(string connectionString) { _context = new ZeroErpManagementDatabase(connectionString); }
/// <summary> /// /// </summary> public void CloseConnection() { _transaction = null; _context = null; }