Exemple #1
0
 /// <summary>
 /// Initializes a new <see cref="FieldSort"/>.
 /// </summary>
 /// <param name="field">The <see cref="DblField"/> to sort by.</param>
 /// <param name="reverse">The direction at which this <see cref="FieldSort"/> is applied (default is A to Z).</param>
 public FieldSort(DblField field, bool reverse = false)
 {
     Field   = field;
     Reverse = reverse;
 }
 /// <summary>
 /// Initializes a new <see cref="FieldSearch"/>.
 /// </summary>
 /// <param name="field">The <see cref="DblField"/> to filter.</param>
 /// <param name="value">The value that this <see cref="DblField"/> should contain.</param>
 public FieldSearch(DblField field, string value)
 {
     Field = field;
     Value = value;
 }