コード例 #1
0
        private void SetUpConnectionString()
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", txtIpAddress.Text);

            _context     = new FBFDBContext(type);
            _userService = new UserService(_context);
        }
コード例 #2
0
        private void InitializeDbContext(string ipAddress)
        {
            IDatabaseType type = new EfSqlServer("SQLServerDb", ipAddress);

            _context = new FBFDBContext(type);
        }