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