Exemplo n.º 1
0
 public DbSet(IEnumerable <TEntity> entities)
 {
     Entities      = entities.ToList();
     ChangeTracker = new ChangeTracker <TEntity>(entities);
 }
Exemplo n.º 2
0
 public DbSet(IList <TEntity> entities)
 {
     Entities           = entities.ToList();
     this.ChangeTracker = new ChangeTracker <TEntity>(entities);
 }
Exemplo n.º 3
0
 internal DbSet(IEnumerable <T> entites)
 {
     this._entities     = new List <T>(entites);
     this.ChangeTracker = new ChangeTracker <T>(entites);
 }