public AllRepos(string ConnectionString) { AddressRepo.SetInstance(ConnectionString); TraderRepo.SetInstance(ConnectionString); Repos.ItemRepo.SetInstance(ConnectionString); TagAssocRepo.SetInstance(ConnectionString); TagRepo.SetInstance(ConnectionString); TransactionRepo.SetInstance(ConnectionString); Address = AddressRepo.GetInstance(); Traders = TraderRepo.GetInstance(); Items = Repos.ItemRepo.GetInstance(); TagAssoc = TagAssocRepo.GetInstance(); Tags = TagRepo.GetInstance(); Transactions = TransactionRepo.GetInstance(); }