Class ColumnSelector
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The class contains the collection of table field names. The Fields are matched on case-insensitive basis and included or excluded from the result, depending on IsIncluded flag.
public class ColumnSelector : FieldSelector
- Inheritance
-
ColumnSelector
- Inherited Members
Constructors
ColumnSelector()
Initializes a new instance of the ColumnSelector class.
public ColumnSelector()
Fields
AllJson
Gets the JSON string value that represents All.
public const string AllJson = "allColumnSelector"
Field Value
Properties
All
Gets the ColumnSelector value that represents all fields being selected.
public static ColumnSelector All { get; }
Property Value
- ColumnSelector
The ColumnSelector of all selected fields.
Methods
Clone()
Clone this ColumnSelector instance.
public virtual ColumnSelector Clone()
Returns
- ColumnSelector
New clone instance of this ColumnSelector instance.
Get(IEnumerable<string>, bool)
Initializes a new instance of the ColumnSelector class.
public static ColumnSelector Get(IEnumerable<string> fields, bool isIncluded)
Parameters
fields
IEnumerable<string>The field names ICollection<T> to include or exclude from the result.
isIncluded
boolA value indicating whether the Fields are to be included or excluded.
Returns
- ColumnSelector
The ColumnSelector instance.