Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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);
 }
Пример #6
0
 /// <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);
 }
Пример #7
0
 /// <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);
 }
Пример #8
0
 /// <summary>
 /// Add a query to this <see cref="Sql"/> instance.
 /// </summary>
 /// <param name="statement"></param>
 public virtual void Query(ISqlStatement statement)
 {
     Quries.Add(statement);
 }
Пример #9
0
 /// <summary>
 /// Add a query to this <see cref="Sql"/> instance.
 /// </summary>
 /// <param name="statement"></param>
 public virtual void Query(QueryString statement)
 {
     Quries.Add(statement);
 }