Skip to main content
Here are the operators (from 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 class StringOperators for string fields through advanced search. None of these should be case-sensitive.

Integer operators

Supported operators in class IntOperators for int fields through advanced search.

Double operators

Supported operators in class DoubleOperators for double fields through advanced search.

Bool operators

Supported operators in class BoolOperators for boolean fields through advanced search.

List operators

Supported operators in class ListOperators 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.
Supported operators in class DateTimeOperators for datetime fields through advanced search.

Enum MatchType

The IsMatchDateTime 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