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()

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

Extension Methods

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