AddWhere() public method

Adds a where clause to the query.
All where clases added using this function must be true, i.e. there is an AND operator between them.
public AddWhere ( WherePart clause ) : void
clause WherePart
return void
 public Query SelectWhere(WherePart condition)
 {
     var result = new SelectQuery();
     foreach (var field in Fields)
         result.AddSelectField(field);
     result.AddTable(this);
     result.AddWhere(condition);
     return result;
 }