示例#1
0
        // Repositories

        /// <summary>
        /// Save pending changes to the database
        /// </summary>
        public void Commit()
        {
            //System.Diagnostics.Debug.WriteLine("Committed");
            dbContext.SaveChangesWithModificationHistory();
        }
 public override int Commit()
 {
     return(ctx.SaveChangesWithModificationHistory()); //Zwraca ilość wierszy wziętych po uwagę
 }