public void Working_With_Nba_DB() { using (NbaModel context = new NbaModel()) { Player player = context.Players.Where(p => p.TeamID == 1).FirstOrDefault(); } }