示例#1
0
        /// <summary>
        /// Edits a TeamSeason entity in the data store
        /// </summary>
        /// <param name="teamSeason">The TeamSeason entity to be modified</param>
        public void EditEntity(TeamSeason teamSeason)
        {
            try
            {
                _log.Info("Updating TeamSeason entity in data store");

                _dbContext.SetModified(teamSeason);
            }
            catch (Exception ex)
            {
                _log.Error(ex.Message);

                throw;
            }
        }
示例#2
0
        /// <summary>
        /// Edits a Conference entity in the data store
        /// </summary>
        /// <param name="conference">The Conference entity to be modified</param>
        public void EditEntity(Conference conference)
        {
            try
            {
                _log.Info("Updating Conference entity in data store");

                _dbContext.SetModified(conference);
            }
            catch (Exception ex)
            {
                _log.Error(ex.Message);

                throw;
            }
        }
        /// <summary>
        /// Edits a WeekCount entity in the data store
        /// </summary>
        /// <param name="weekCount">The WeekCount entity to be modified</param>
        public void EditEntity(WeekCount weekCount)
        {
            try
            {
                _log.Info("Updating WeekCount entity in data store");

                _dbContext.SetModified(weekCount);
            }
            catch (Exception ex)
            {
                _log.Error(ex.Message);

                throw;
            }
        }
        /// <summary>
        /// Edits a League entity in the data store
        /// </summary>
        /// <param name="league">The League entity to be modified</param>
        public void EditEntity(League league)
        {
            try
            {
                _log.Info("Updating League entity in data store");

                _dbContext.SetModified(league);
            }
            catch (Exception ex)
            {
                _log.Error(ex.Message);

                throw;
            }
        }
 /// <summary>
 /// Edits a WeekCount entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="weekCount">The WeekCount entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, WeekCount weekCount)
 {
     _log.Info("Updating WeekCount entity in data store");
     dbContext.SetModified(weekCount);
 }
示例#6
0
 /// <summary>
 /// Edits a TeamSeason entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="teamSeason">The TeamSeason entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, TeamSeason teamSeason)
 {
     _log.Info("Updating TeamSeason entity in data store");
     dbContext.SetModified(teamSeason);
 }
 /// <summary>
 /// Edits a League entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="league">The League entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, League league)
 {
     _log.Info("Updating League entity in data store");
     dbContext.SetModified(league);
 }
 /// <summary>
 /// Edits a Game entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="game">The Game entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, Game game)
 {
     _log.Info("Updating Game entity in data store");
     dbContext.SetModified(game);
 }
 /// <summary>
 /// Edits a Division entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="division">The Division entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, Division division)
 {
     _log.Info("Updating Division entity in data store");
     dbContext.SetModified(division);
 }
 /// <summary>
 /// Edits a Conference entity
 /// </summary>
 /// <param name="dbContext">An instance of the ProFootballEntities class</param>
 /// <param name="conference">The Conference entity to modify</param>
 public void EditEntity(ProFootballEntities dbContext, Conference conference)
 {
     _log.Info("Updating Conference entity in data store");
     dbContext.SetModified(conference);
 }