public virtual void AddAndCriteria(ICriteria c) { this.AddAnd(); sb.Append("("); sb.Append(c.GetText()); sb.Append(") "); }
public void AddOrCriteria(ICriteria c) { if (c.Initialized) { AddOr(); sb.Append("(" + c.GetText().Replace("WHERE", "").Trim() + ") "); initialized = true; } }
public virtual void AddAndCriteria(ICriteria c) { if (c.Initialized) { AddAnd(); sb.Append("("); sb.Append(c.GetText().Replace("WHERE", "").Trim()); sb.Append(") "); initialized = true; } }
public void AddOrCriteria(ICriteria c) { this.AddOr(); sb.Append("(" + c.GetText() + ")"); }