/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="update">A UPDATE statement, good practice to add a <see cref="Where"/> clause</param> public virtual void Query(Update update) { Quries.Add(update); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="select">A SELECT statement</param> public virtual void Query(Select select) { Quries.Add(select); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="insert">A INSERT statement</param> public virtual void Query(Insert insert) { Quries.Add(insert); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="delete">A DELETE statement, good practice to add a <see cref="Where"/> clause</param> public virtual void Query(Delete delete) { Quries.Add(delete); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="drop">A DROP statement</param> public virtual void Query(Drop drop) { Quries.Add(drop); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="create">A CREATE statement</param> public virtual void Query(Create create) { Quries.Add(create); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="alter">A CREATE statement</param> public virtual void Query(Alter alter) { Quries.Add(alter); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="statement"></param> public virtual void Query(ISqlStatement statement) { Quries.Add(statement); }
/// <summary> /// Add a query to this <see cref="Sql"/> instance. /// </summary> /// <param name="statement"></param> public virtual void Query(QueryString statement) { Quries.Add(statement); }