Class SearchRestrictionInfo
This class represents one restriction in an "Advanced Find" supported by an ERP (Sync/Quote) connector
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public class SearchRestrictionInfo
Constructors
SearchRestrictionInfo()
This class represents one restriction in an "Advanced Find" supported by an ERP (Sync/Quote) connector
Declaration
public SearchRestrictionInfo()
Properties
FieldKey
Field key, corresponding to a previously-returned FieldKey in a FieldMetadataInfo structure; uniquely identifies the field to search for
Declaration
public string FieldKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Operator
Operator to be applied in this search. Operators are: =, !=, >, < between and IN for all data types; in addition, strings should support begins and contains with % as the wildcard placeholder
Declaration
public string Operator { get; set; }
Property Value
Type | Description |
---|---|
string |
ScalarValue
Simplified get/set property for the one-and-only element of the Values array, for operators that take only one value.
Declaration
public string ScalarValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Values
Array of values to apply in search. Most operators take just one value, and the ScalarValue derived property can be used to get/set the value
Declaration
public string[] Values { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Methods
ToString()
ToString override formatting the search restriction
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |