public SimpleRepositoryBase(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <T, TU> mapper)
     : base(handler, dbContext, mapper)
 {
 }
Exemple #2
0
 /// <summary>
 /// Creates an instance of <see cref="PlayerRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public PlayerRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <Player, PlayerDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
 /// <summary>
 /// Creates an instance of <see cref="PenaltyRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public PenaltyRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <Penalty, PenaltyDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
 protected RepositoryBase(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <T, TU> mapper)
 {
     Handler = handler;
     Context = dbContext;
     Mapper  = mapper;
 }
Exemple #5
0
 /// <summary>
 /// Creates an instance of <see cref="TeamRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="leagueMapper"></param>
 public TeamRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <Team, TeamDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
 /// <summary>
 /// Creates an instance of <see cref="LeagueRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="leagueMapper"></param>
 public LeagueRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <League, LeagueDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
Exemple #7
0
 /// <summary>
 /// Creates an instance of <see cref="GameSkaterStatisticRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public GameSkaterStatisticRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <GameSkaterStatistic, GameSkaterStatisticDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
 /// <summary>
 /// Creates an instance of <see cref="SeasonRepository"/>
 /// </summary>
 /// <param name="handler"></param>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public SeasonRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <Season, SeasonDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }
 /// <summary>
 /// Creates an instance of <see cref="GameRepository"/>
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public GameRepository(IActionHandler handler, DihlDbContext dbContext, IDomainDataMapper <Game, GameDataModel> mapper)
     : base(handler, dbContext, mapper)
 {
 }