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