/// <summary> /// Initializes a new instance of the <see cref="PeerTradingReplaceCashQuery"/> class. /// </summary> /// <param name="connectionPool">The <see cref="DbConnectionPool"/> to use for creating connections to execute the query on.</param> public PeerTradingReplaceCashQuery(DbConnectionPool connectionPool) : base(connectionPool, CreateQuery(connectionPool.QueryBuilder)) { QueryAsserts.AreColumns(ActiveTradeCashTable.DbColumns, "character_id", "cash"); }
/// <summary> /// Initializes a new instance of the <see cref="InsertCharacterTemplateSkillQuery"/> class. /// </summary> /// <param name="connectionPool">The connection pool.</param> public InsertCharacterTemplateSkillQuery(DbConnectionPool connectionPool) : base(connectionPool, CreateQuery(connectionPool.QueryBuilder)) { QueryAsserts.AreColumns(CharacterTemplateSkillTable.DbColumns, "character_template_id", "skill_id"); }