Пример #1
0
        protected internal void LoadTeams()
        {
            context = new SoccerContext();
            context.Teams.Load();

            teams_DataGridView.DataSource = context.Teams.Local.ToBindingList();
        }
Пример #2
0
 protected internal void LoadPlayers()
 {
     context = new SoccerContext();
     context.Players.Load();
     players_DataGridView.DataSource = context.Players.Local.ToBindingList();
 }