Esempio n. 1
0
 /// <summary>
 /// Save All Changes.
 /// You have to trigger SaveChanges() to commit
 /// </summary>
 /// <returns></returns>
 public ISqlQueryable <T> Save(params Expression <Func <T, object> >[] ignoredProperties)
 {
     foreach (var item in Execute())
     {
         _repository.Save(item, ignoredProperties);
     }
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Save All Changes.
 /// You have to trigger SaveChanges() to commit
 /// </summary>
 /// <returns></returns>
 public ISqlQueryable <T> Save()
 {
     foreach (var item in Execute())
     {
         _repository.Save(item);
     }
     return(this);
 }