public Repository(GameVictoryRepository gameVictoryRepository, [NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <GameVictory> dataMapper) : base(connectionFactory, parameterFactory, dataMapper) { this.gameVictoryRepository = gameVictoryRepository; }
public Repository(PlayerKillrepository playerKillRepository, [NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <PlayerKill> dataMapper) : base(connectionFactory, parameterFactory, dataMapper) { this.playerKillRepository = playerKillRepository; }
public Repository(AiKillRepository aiKillRepository, [NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <AiKill> dataMapper) : base(connectionFactory, parameterFactory, dataMapper) { this.aiKillRepository = aiKillRepository; }
/// <summary> /// Constructeur de DbRepository. /// </summary> /// <param name="connectionFactory"> /// Fabrique de connexion à la base de données. Utilisée pour créer une connexion avant chaque requête. /// </param> /// <param name="parameterFactory"> /// Fabrique de DBParameter. Utilisée pour chaque paramêtre d'une requête préparée. /// </param> /// <param name="dataMapper"> /// <see cref="IDbDataMapper{T}"/> à utiliser pour transformer les données provenant de la base de données en un objet /// ainsi que pour obtenir les clés primaires générées. /// </param> /// <seealso cref="IDbConnectionFactory"/> /// <seealso cref="IDbParameterFactory"/> /// <seealso cref="IDbDataMapper{T}"/> protected DbRepository([NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <T> dataMapper) { this.connectionFactory = connectionFactory; this.parameterFactory = parameterFactory; this.dataMapper = dataMapper; }
public Repository(AchivementRepository achivementRepository, [NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <Achivement> dataMapper) : base(connectionFactory, parameterFactory, dataMapper) { this.achivementRepository = achivementRepository; }
public Repository(ProtectionOfPlayerRepository protectionOfPlayerRepository, [NotNull] IDbConnectionFactory connectionFactory, [NotNull] IDbParameterFactory parameterFactory, [NotNull] IDbDataMapper <ProtectionOfPlayer> dataMapper) : base(connectionFactory, parameterFactory, dataMapper) { this.protectionOfPlayerRepository = protectionOfPlayerRepository; }