/// <summary>
 /// Create a new QueryCriteriaExpression
 /// </summary>
 /// <param name="propertyName">Property to query for a value</param>
 /// <param name="propertyType">Type of the property - direct Property or GenericProperty</param>
 /// <param name="qcOperator">What type of comparison should we perform?</param>
 /// <param name="value">Value to check the property for</param>
 public QueryCriteriaExpression(string propertyName, QueryCriteriaPropertyType propertyType, QueryCriteriaExpressionOperator qcOperator, string value)
 {
     this.PropertyName = propertyName;
     this.PropertyType = propertyType;
     this.Operator     = qcOperator;
     this.Value        = value;
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new QueryCriteriaExpression
 /// </summary>
 /// <param name="propertyName">Property to query for a value</param>
 /// <param name="propertyType">Type of the property - direct Property or GenericProperty</param>
 /// <param name="qcOperator">What type of comparison should we perform?</param>
 /// <param name="value">Value to check the property for</param>
 public QueryCriteriaExpression(string propertyName, QueryCriteriaPropertyType propertyType, QueryCriteriaExpressionOperator qcOperator, string value)
 {
     this.PropertyName = propertyName;
     this.PropertyType = propertyType;
     this.Operator = qcOperator;
     this.Value = value;
 }