MongoDB · Types · Queries
ArxConditionExpression
Definition
- Namespace
ARX.SDK.Query- Package
ARX.SDK
public sealed class ArxConditionExpressionOne condition: an attribute, an operator (ArxConditionOperator) and its values. Every value is sent as a parameter, never written into the SQL.
Constructor
ArxConditionExpression()An empty condition; set its attribute, operator and values.
ArxConditionExpression(string attributeName, ArxConditionOperator conditionOperator)A condition with no value: Null and NotNull.
Parameter Type Description attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. ArxConditionExpression(string attributeName, ArxConditionOperator conditionOperator, List<object> values)A condition with a list of values: In, NotIn, Between.
Parameter Type Description attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. valuesList<object>The values compared with, each sent as a parameter. ArxConditionExpression(string attributeName, ArxConditionOperator conditionOperator, object value)A condition with one value.
Parameter Type Description attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. valueobjectThe value compared with, sent as a parameter. ArxConditionExpression(string attributeName, ArxConditionOperator conditionOperator, params object[] values)A condition with its values.
Parameter Type Description attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. valuesparams object[]The values compared with, each sent as a parameter. ArxConditionExpression(string entityName, string attributeName, ArxConditionOperator conditionOperator)A condition with no value on a joined entity's column.
Parameter Type Description entityNamestringThe alias of the link entity whose column is compared. attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. ArxConditionExpression(string entityName, string attributeName, ArxConditionOperator conditionOperator, object value)A condition with one value on a joined entity's column.
Parameter Type Description entityNamestringThe alias of the link entity whose column is compared. attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. valueobjectThe value compared with, sent as a parameter. ArxConditionExpression(string entityName, string attributeName, ArxConditionOperator conditionOperator, params object[] values)A condition with its values on a joined entity's column.
Parameter Type Description entityNamestringThe alias of the link entity whose column is compared. attributeNamestringThe column compared. conditionOperatorArxConditionOperatorHow the column is compared with the values. valuesparams object[]The values compared with, each sent as a parameter.
Properties
string EntityName { get; set; }The alias of the link entity whose column is compared; null for the filter's own row source.
string AttributeName { get; set; }The column compared.
ArxConditionOperator Operator { get; set; }How the column is compared with the values.
List<object> Values { get; set; }The values compared with; each is sent as a parameter.