Table of Contents

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

name string
The name.
operatorType OperatorType
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

name string
The name.
operatorType OperatorType
Type of the operator.
value object
The value.

QueryCondition(string, string, OperatorType)

Initializes a new instance of the QueryCondition class.
public QueryCondition(string name, string foreignName, OperatorType operatorType)

Parameters

name string
The name.
foreignName string
The foreign name.
operatorType OperatorType
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
true if 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

valuePlaceholder int
The value placeholder.

Returns

string
To top