Show / Hide Table of Contents

Class SearchRestrictionInfoWS

Carrier object representing search restriction, used for advanced search

Inheritance
Object
SearchRestrictionInfoWS
Namespace: SuperOffice.ErpSync
Assembly: SuperOffice.Plugins.dll
Syntax
public class SearchRestrictionInfoWS : Object

Constructors

SearchRestrictionInfoWS()

Carrier object representing search restriction, used for advanced search

Declaration
public SearchRestrictionInfoWS()

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. Returns a formatted representation of a SearchRestrictionInfo

Declaration
public override string ToString()
Returns
Type Description
String

Extension Methods

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