Exemplo n.º 1
0
        public SqlAdapter()
        {
            HighStakesContext db = new HighStakesContext();

            _context = db;
            _Deck    = BuildDeck();
            _Users   = BuildUsers();
        }
Exemplo n.º 2
0
        public SqlAdapter(int i)
        {
            HighStakesContextTest db = new HighStakesContextTest(); // _context.

            db.Database.EnsureCreated();
            _context = db;
            _Deck    = BuildDeck();
            _Users   = BuildUsers();
        }