Exemplo n.º 1
0
 /// <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>();
 }
Exemplo n.º 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>();
 }
Exemplo n.º 4
0
 public UnitOfWork()
 {
     _context = new HonkerUnionEntities();
 }