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