SuperOffice.ErpSync.Contracts) the connector will need to support for the different field types if it exposes fields available for advanced search.
String operators
Supported operators in classStringOperators for string fields through advanced search. None of these should be case-sensitive.
Integer operators
Supported operators in classIntOperators for int fields through advanced search.
Double operators
Supported operators in classDoubleOperators for double fields through advanced search.
Bool operators
Supported operators in classBoolOperators for boolean fields through advanced search.
List operators
Supported operators in classListOperators for list fields through advanced search.
DateTime operators
Regarding datetime comparisons: The connector itself will be responsible for determining the best comparison method for DateTime values. In some cases, the correct way is to only compare the Date part of the value, while in other cases it will probably be better to also compare the Time.
DateTimeOperators for datetime fields through advanced search.
Enum MatchType
TheIsMatchDateTime method takes an optional parameter of type DateTimeOperators.MatchType (defaults to DateAndTime_IgnoreSeconds) which the connector can use to tell the method how to compare the restriction and search values.
- DateOnly
- TimeOnly
- TimeOnly_IgnoreSeconds
- DateAndTime
- DateAndTime_IgnoreSeconds