コード例 #1
0
 public StringSQLBuilder AddWhere(SQLCondition condition)
 {
     Query = Query.Append("WHERE ", condition.ConditionString, " ");
     return(this);
 }
コード例 #2
0
 public StringSQLBuilder AddOn(SQLCondition condition)
 {
     Query = Query.Append("ON ", condition.ConditionString);
     return(this);
 }
コード例 #3
0
        /// <summary>
        /// Add "{firstSeparator} condition". With in-between space.
        /// </summary>
        /// <param name="firstSeparator"></param>
        /// <param name="condition"></param>
        /// <returns></returns>
        public StringSQLBuilder AddCondition(string firstSeparator, SQLCondition condition)
        {
            Query = Query.Append(firstSeparator, " ", condition.ConditionString);

            return(this);
        }