Class SelectionCollection.CustomSearch
Class representing a custom search on table 'Selection'.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public sealed class SelectionCollection.CustomSearch : SelectionCollection.SelectionCollectionIdx<SelectionRows.CustomSearch>, ISentryIgnorable
Constructors
CustomSearch()
Constructor for class SelectionCollection.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. |