Ejemplo n.º 1
0
 public bool Any()
 {
     return(InsertedEntities.Any() || UpdatedEntities.Any() || DeletedEntities.Any());
 }
Ejemplo n.º 2
0
 public CommitExecutedEntities <T> Entity <T>() where T : class
 {
     return(new CommitExecutedEntities <T>(InsertedEntities.OfType <T>().ToList(),
                                           UpdatedEntities.OfType <T>().ToList(),
                                           DeletedEntities.OfType <T>().ToList()));
 }