Click or drag to resize
IWhereCondition Interface
Interface for classes which provide where condition

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public interface IWhereCondition : IQueryParameters, 
	IQueryObject, IDisposable

The IWhereCondition type exposes the following members.

Properties
  NameDescription
Public propertyDataSourceName
Data source identifier that represents the location from which the data are obtained.
Public propertyName
Object name, empty by default
(Inherited from IQueryObject.)
Public propertyParameters
Query data parameters
(Inherited from IQueryObject.)
Public propertyWhereCondition
Where condition on the data, e.g. "DocumentName = 'ABC'"
Public propertyWhereIsComplex
Returns true if the given where condition contains compound conditions, e. g. "A > 1 AND B = 5"
Public propertyWhereIsEmpty
Returns true if the where condition is empty
Top
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from IQueryParameters.)
Public methodChanged
Marks the object as changed
(Inherited from IQueryObject.)
Public methodCloneObject
Creates the clone of the object.
(Inherited from IQueryObject.)
Public methodCopyPropertiesTo
Copies the properties to the target query.
(Inherited from IQueryParameters.)
Public methodEnsureParameters
Ensures data parameters for the given query
(Inherited from IQueryParameters.)
Public methodExpand
Expands the expression by replacing parameters with their values
(Inherited from IQueryParameters.)
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Inherited from IQueryObject.)
Public methodReturnNoResults
Sets the query to return no results. This action is irreversible, once the query is set to return no results it cannot be changed. This method is used by data engine to forbid access to data that are not allowed to be accessed (e.g. license limitations), without notifying the process about the fact.
Public methodToString
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from IQueryParameters.)
Top
See Also