// sets context and binding source to all players in database,
        // ordered by ID
        private void refreshSource()
        {
            if (dbcon != null)
                dbcon.Dispose();

            dbcon = new BaseballDB.BaseballEntities();
            dbcon.Players
                .OrderBy( Player => Player.PlayerID )
                .Load();

            playerBindingSource.DataSource = dbcon.Players.Local;
        }
        // sets context and binding source to all players in database,
        // ordered by ID
        private void refreshSource()
        {
            if (dbcon != null)
            {
                dbcon.Dispose();
            }

            dbcon = new BaseballDB.BaseballEntities();
            dbcon.Players
            .OrderBy(Player => Player.PlayerID)
            .Load();

            playerBindingSource.DataSource = dbcon.Players.Local;
        }