Example #1
0
 public virtual SqlStringBuilder AppendStartsWith(string junction, string column, string value)
 {
     if (!string.IsNullOrEmpty(value))
     {
         AppendInternal(junction, SqlUtil.StartsWith(column, value));
     }
     return(this);
 }
 public override SqlStringBuilder AppendStartsWith(string junction, string column, string value)
 {
     if (!string.IsNullOrEmpty(value))
     {
         _isDirty = true;
         value    = SqlUtil.StartsWith(value);
         AppendInternal(junction, column, "LIKE", Parameters.GetParameter(value));
     }
     return(this);
 }
Example #3
0
 protected override string StartsWith(string column, string value, bool ignoreCase)
 {
     value = SqlUtil.StartsWith(value);
     return(SqlUtil.Like(column, Parameters.GetParameter(value), ignoreCase, false));
 }
Example #4
0
 protected virtual String StartsWith(String column, String value, bool ignoreCase)
 {
     return(SqlUtil.StartsWith(column, value, ignoreCase));
 }