Class Restriction
This is the base Restriction class.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public abstract class Restriction : QueryElement, ICloneable
Constructors
Restriction()
Initializes a new instance of the Restriction class.
Declaration
public Restriction()
Methods
And(Restriction)
Initializes and returns a new instance of the And(Restriction) class, and uses expression argument as in parameter.
Declaration
public virtual And And(Restriction expression)
Parameters
Type | Name | Description |
---|---|---|
Restriction | expression | Restriction to Add |
Returns
Type | Description |
---|---|
And | Returns a new And(Restriction) |
Or(Restriction)
Initializes and returns a new instance of the Or(Restriction) class, and uses expression argument as in parameter.
Declaration
public virtual Or Or(Restriction expression)
Parameters
Type | Name | Description |
---|---|---|
Restriction | expression | Returns a new Or(Restriction) |
Returns
Type | Description |
---|---|
Or | Returns a new Or class |
RestrictionAnd(Restriction, Restriction)
This is the base Restriction class.
Declaration
public static Restriction RestrictionAnd(Restriction left, Restriction right)
Parameters
Type | Name | Description |
---|---|---|
Restriction | left | |
Restriction | right |
Returns
Type | Description |
---|---|
Restriction |
RestrictionOr(Restriction, Restriction)
This is the base Restriction class.
Declaration
public static Restriction RestrictionOr(Restriction left, Restriction right)
Parameters
Type | Name | Description |
---|---|---|
Restriction | left | |
Restriction | right |
Returns
Type | Description |
---|---|
Restriction |