/// <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>();
 }
Exemple #3
0
 /// <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>();
 }
Exemple #4
0
 public UnitOfWork()
 {
     _context = new HonkerUnionEntities();
 }