Show / Hide Table of Contents

Class SearchRestrictionInfo

This class represents one restriction in an "Advanced Find" supported by an ERP (Sync/Quote) connector

Inheritance
Object
SearchRestrictionInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public class SearchRestrictionInfo

Constructors

SearchRestrictionInfo()

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
Overrides
Object.ToString()

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
ConnectorExtensions.GetRestrictionOperator(SearchRestrictionInfo)
ConnectorExtensions.ToArchiveRestrictionInfo(SearchRestrictionInfo)
Converters.MapEnums<From, To>(From)
Converters.FromPlugin(SearchRestrictionInfo)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top