/// <summary> /// Initializes a new instance of the <see cref="GenericRepository{TEntity}"/> class. /// </summary> /// <param name="entities"> /// The entities. /// </param> public GenericRepository(UmehlukoEntities1 entities) { this._entities = entities; this._objectSet = entities.Set <TEntity>(); }
/// <summary> /// Initializes a new instance of the <see cref="GenericUnitOfWork" /> class. /// </summary> public GenericUnitOfWork() { this._entities = new UmehlukoEntities1(); }