/// <summary> /// Public Constructor,initializes privately declared local variables. /// </summary> /// <param name="context"></param> public GenericRepository(HonkerUnionEntities context) { this.Context = context; this.DbSet = context.Set <TEntity>(); }
/// <summary> /// Public Constructor,initializes privately declared local variables. /// </summary> /// <param name="context"></param> public UserInformationRepository(HonkerUnionEntities context) { this.Context = context; this.DbSet = context.Set <TEntity>(); }
/// <summary> /// Public Constructor,initializes privately declared local variables. /// </summary> /// <param name="context"></param> public PushNotificationRepository(HonkerUnionEntities context) { this.Context = context; this.DbSet = context.Set <TEntity>(); }
public UnitOfWork() { _context = new HonkerUnionEntities(); }