コード例 #1
0
 /// <summary>
 /// Save all changes to the data store
 /// </summary>
 /// <param name="dbContext">The data store object representing the database to which changes will be saved</param>
 public void SaveChanges(ProFootballEntities dbContext)
 {
     try
     {
         dbContext.SaveChanges();
     }
     catch (Exception ex)
     {
         ShowExceptionMessage(ex);
     }
 }