Class Operator
- Namespace
- Innova.Data.StructuredSearch
- Assembly
- Innova.Data.dll
Represents an abstract base class for operators used in structured search.
[DataContract]
public abstract class Operator : INotifyPropertyChanged
- Inheritance
-
Operator
- Implements
- Derived
Constructors
- Operator(string, List<object>)
Initializes a new instance of the Operator class with the specified field name and parameters.
Properties
- FieldName
Gets or sets the field name.
- FieldType
Gets or sets the type of the field.
- FriendlyFieldName
Gets or sets the friendly field name.
- FriendlyParameter
Gets the friendly parameter string.
- IsValid
Gets a value indicating whether the operator is valid.
- OperatorCaption
Gets the operator caption.
- ParameterName
Gets or sets the parameter name.
- Parameters
Gets or sets the list of parameters.
- ParentWhereClause
Gets or sets the parent where clause.
- RequiredParameterCount
Gets the required parameter count.
- SelectedItem
Gets or sets the selected item.
- ValueDescription
Gets or sets the value description.
Methods
- CheckForParentWhereClause(string)
Checks for the parent where clause and formats the child where clause accordingly.
- ClearOperator()
Clears the operator by setting the parameters to null.
- Clone()
Creates a clone of the operator.
- EnsureUniqueParameters(ref int)
Ensures that the parameter name is unique.
- GetMemberExpression(ParameterExpression, string)
Gets the member expression for the specified property.
- GetWhereExpression<T>(ParameterExpression)
Gets the where expression for the specified type.
- InitializeSelectedItem()
Initializes the selected item.
- SetOperatorCaption(string)
Sets the operator caption.
- VerifyParameters()
Verifies the parameters of the operator.
Events
- PropertyChanged
Occurs when a property value changes.