/// <summary> /// 往對象中添加查詢條件對象(SqlCondition)。 /// </summary> /// <param name="cond">SqlCondition對象</param> public void Add(SqlCondition cond) { conditions.Add(cond); }
/// <summary> /// 往對象中添加查詢條件對象(SqlCondition)。 /// </summary> /// <param name="conds">SqlCondition對象數組</param> public void Add(SqlCondition[] conds) { foreach (SqlCondition cond in conds) { conditions.Add(cond); } }
/// <summary> /// 往對象中添加查詢條件對象(SqlCondition)。 /// </summary> /// <param name="Name">查詢條件字段</param> /// <param name="Express">查詢表達式</param> /// <param name="Value">查詢條件值</param> public void Add(string Name, string Express, object Value) { SqlCondition cond = new SqlCondition(Name, Express, Value); conditions.Add(cond); }