Show / Hide Table of Contents

Class SearchRestrictionInfoWS

Carrier object representing search restriction, used for advanced search

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

Constructors

SearchRestrictionInfoWS()

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
System.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
System.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
System.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
System.String[]

Methods

ToString()

ToString override. Returns a formatted representation of a SearchRestrictionInfo

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

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