/// <summary> /// Creates a new ExistsQuery. /// </summary> /// <param name="source">The name and schema of the table.</param> /// <param name="connection">A connection to the database. The connection is NOT closed upon completion of the query.</param> /// <param name="commandTimeout">Number of seconds before command execution timeout.</param> public ExistsQuery(string source, IDbConnection connection, int?commandTimeout) : base(source, connection, commandTimeout) { query = new FindQuery(source, connection, commandTimeout); }
/// <summary> /// Creates a new ExistsQuery. /// </summary> /// <param name="source">The name and schema of the table.</param> /// <param name="connectionString">The connection string to the database.</param> /// <param name="commandTimeout">Number of seconds before command execution timeout.</param> public ExistsQuery(string source, string connectionString, int?commandTimeout) : base(source, connectionString, commandTimeout) { query = new FindQuery(source, connectionString, commandTimeout); }