Пример #1
0
 public virtual SqlStringBuilder AppendNotContains(string junction, string column, string value)
 {
     if (!string.IsNullOrEmpty(value))
     {
         AppendInternal(junction, SqlUtil.Contains(column, value));
     }
     return(this);
 }
 public override SqlStringBuilder AppendContains(string junction, string column, string value)
 {
     if (!string.IsNullOrEmpty(value))
     {
         _isDirty = true;
         value    = SqlUtil.Contains(value);
         AppendInternal(junction, column, "LIKE", Parameters.GetParameter(value));
     }
     return(this);
 }
Пример #3
0
 protected override string Contains(string column, string value, bool ignoreCase)
 {
     value = SqlUtil.Contains(value);
     return(SqlUtil.Like(column, Parameters.GetParameter(value), ignoreCase, false));
 }
Пример #4
0
 protected virtual String Contains(String column, String value, bool ignoreCase)
 {
     return(SqlUtil.Contains(column, value, ignoreCase));
 }