public void GetTheData(FacDbType db) { IDbObject database = _factory.Create(db); database.OpenDatabase(); Console.WriteLine(database.GetData()); database.CloseDatabase(); }