Exemplo n.º 1
0
        private void SetUpConnectionString()
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", txtIpAddress.Text);

            _context     = new FBFDBContext(type);
            _userService = new UserService(_context);
        }
Exemplo n.º 2
0
        private void InitializeDbContext(string ipAddress)
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", ipAddress);

            _context = new FBFDBContext(type);
        }