Class QueryCondition
Represents a filter condition for a template query.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.TemplateQuery
Assembly: Umbraco.Core.dll
Syntax
public class QueryCondition
Constructors
View SourceQueryCondition()
Declaration
public QueryCondition()
Properties
View SourceConstraintValue
Gets or sets the constraint value to compare against.
Declaration
public string ConstraintValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Property
Gets or sets the property to filter on.
Declaration
public PropertyModel Property { get; set; }
Property Value
| Type | Description |
|---|---|
| PropertyModel |
Term
Gets or sets the operator term defining the comparison operation.
Declaration
public OperatorTerm Term { get; set; }
Property Value
| Type | Description |
|---|---|
| OperatorTerm |