Пример #1
0
        public BookRepository()
        {
            _dataBase = MockDataProvider.Instance;

            string connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;

            _context = new ADOContext(connectionString);
        }
 public JournalRepository()
 {
     _dataBase = MockDataProvider.Instance;
 }
 private AuthorRepository()
 {
     _dataBase = MockDataProvider.Instance;
 }
 public NewspaperRepository()
 {
     _dataBase = MockDataProvider.Instance;
 }