Show / Hide Table of Contents

Class DocumentCollection.CustomSearch

Class representing a custom search on table 'Document'.

Inheritance
Object
EntityIdxBase
EntityIdxBase<DocumentTableInfo, DocumentRow.DocumentRowIdxBase>
Document.DocumentIdxBase
DocumentCollection.DocumentCollectionIdx
DocumentCollection.DocumentCollectionIdx<DocumentRows.CustomSearch>
DocumentCollection.CustomSearch
Implements
ISentryIgnorable
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public sealed class CustomSearch : DocumentCollection.DocumentCollectionIdx<DocumentRows.CustomSearch>, ISentryIgnorable

Constructors

CustomSearch()

Constructor for class DocumentCollection.CustomSearch

Declaration
public CustomSearch()

Properties

OrderBy

Implementation of the OrderBy clause.

Declaration
public OrderBy OrderBy { get; }
Property Value
Type Description
OrderBy

Restriction

Restriction (e.g. sql: WHERE) for the select statement.

Declaration
public Restriction Restriction { get; set; }
Property Value
Type Description
Restriction

RestrictionObject holding the restrictions for the select statement.

Methods

RestrictionAnd(Restriction)

Calling this method is equivalent to the statement Restriction = Restriction.And( <argument> ), including protection against null Restrictions. Use it as a convenient shorthand if you are building complex restrictions out of smaller parts.

Declaration
public void RestrictionAnd(Restriction rightHandSide)
Parameters
Type Name Description
Restriction rightHandSide

The right-hand side of the AND, the left-hand side is this objects' current Restriction.

RestrictionOr(Restriction)

Calling this method is equivalent to the statement Restriction = Restriction.Or( <argument> ), including protection against null Restrictions. Use it as a convenient shorthand if you are building complex restrictions out of smaller parts.

Declaration
public void RestrictionOr(Restriction rightHandSide)
Parameters
Type Name Description
Restriction rightHandSide

The right-hand side of the OR, the left-hand side is this objects' current Restriction.

Implements

ISentryIgnorable

Extension Methods

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