Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MemberRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public MemberRepository(IKdaDbContext context)
     : base(context)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public EventRepository(IKdaDbContext context)
     : base(context)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupUserRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public GroupUserRepository(IKdaDbContext context)
     : base(context)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VenueRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public VenueRepository(IKdaDbContext context)
     : base(context)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeetupRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public MeetupRepository(IKdaDbContext context)
     : base(context)
 {
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="BaseRepository{T}"/> class.
        /// </summary>
        /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
        protected BaseRepository(IKdaDbContext context)
        {
            this._context = context ?? throw new ArgumentNullException(nameof(context));

            this.Entities = this._context.Set <T>();
        }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RsvpRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public RsvpRepository(IKdaDbContext context)
     : base(context)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WaitlistRepository"/> class.
 /// </summary>
 /// <param name="context"><see cref="IKdaDbContext"/> instance.</param>
 public WaitlistRepository(IKdaDbContext context)
     : base(context)
 {
 }