Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the Filter class.
 /// </summary>
 /// <param name="propertyName">Name of the property.</param>
 /// <param name="propertyType">Type of the property.</param>
 /// <param name="comparisionOperator">The comparision operator.</param>
 /// <param name="value">The value.</param>
 /// <param name="logicalOperator">The logical operator.</param>
 /// <remarks></remarks>
 public DynamicFilterInfo(string propertyName, Type propertyType, DynamicFilterOperation comparisionOperator, object value, DynamicFilterCombination logicalOperator)
 {
     this.PropertyName = propertyName;
     this.PropertyType = propertyType;
     this.FilterOperation = comparisionOperator;
     this.Value = value;
     this.FilterCombination = logicalOperator;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the FilterExpression class.
 /// </summary>
 /// <param name="expression">The expression.</param>
 /// <param name="logicalOperator">The logical operator.</param>
 /// <remarks></remarks>
 public DynamicFilterExpression(Expression expression, DynamicFilterCombination logicalOperator)
 {
     this.Expression = expression;
     this.FilterCombination = logicalOperator;
 }