Пример #1
0
 public TrueShipFilterBuilder LessThan(object value)
 {
     this.Relation = TrueShipFilterRelations.LessThan;
     this.Value    = (value is DateTime) ? string.Format("{0:s}", ( DateTime )value) : value.ToString();
     return(this);
 }
Пример #2
0
 public TrueShipFilterBuilder In(string value)
 {
     this.Relation = TrueShipFilterRelations.In;
     this.Value    = value;
     return(this);
 }
Пример #3
0
 public TrueShipFilter(TrueShipField field, TrueShipFilterRelation relation, object value)
 {
     this.Field    = field;
     this.Relation = relation;
     this.Value    = value.ToString();
 }