Class QueryCondition
- Namespace
- Dynamicweb.Tracking.Reporting
- Assembly
- Dynamicweb.Tracking.dll
Represents a query condition.
public class QueryCondition
- Inheritance
-
QueryCondition
- Inherited Members
Constructors
QueryCondition(string, OperatorType)
Initializes a new instance of the QueryCondition class.
public QueryCondition(string name, OperatorType operatorType)
Parameters
namestring- The name.
operatorTypeOperatorType- Type of the operator.
QueryCondition(string, OperatorType, object)
Initializes a new instance of the QueryCondition class.
public QueryCondition(string name, OperatorType operatorType, object value)
Parameters
namestring- The name.
operatorTypeOperatorType- Type of the operator.
valueobject- The value.
QueryCondition(string, string, OperatorType)
Initializes a new instance of the QueryCondition class.
public QueryCondition(string name, string foreignName, OperatorType operatorType)
Parameters
namestring- The name.
foreignNamestring- The foreign name.
operatorTypeOperatorType- Type of the operator.
Properties
AllowUnsafeColumnNames
Gets or sets a value indicating whether unsafe column names are allowed.
public bool AllowUnsafeColumnNames { get; set; }
Property Value
- bool
trueif unsafe column names are allowed; otherwise,false.
ForeignName
Gets the foreign name.
public string ForeignName { get; }
Property Value
- string
- The foreign name.
Name
Gets the name.
public string Name { get; }
Property Value
- string
- The name.
Operator
Gets the operator.
public OperatorType Operator { get; }
Property Value
- OperatorType
- The operator.
Value
Gets the value.
public object Value { get; }
Property Value
- object
- The value.
Methods
GetExpressionPlaceholder(int)
Gets the expression placeholder.
public string GetExpressionPlaceholder(int valuePlaceholder = 0)
Parameters
valuePlaceholderint- The value placeholder.