Class FilterDescriptor
Inheritance
FilterDescriptor
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class FilterDescriptor : BaseEntity, IFilterDescriptor, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IFilterDescriptor>, ISetItemUpdater
Constructors
FilterDescriptor()
Declaration
public FilterDescriptor()
Properties
BindedAggregate
Declaration
[EnumDataType(typeof(AggregateFunction))]
public AggregateFunction BindedAggregate { get; set; }
Property Value
Declaration
[NotMapped]
public string BindedAggregate_Tooltip { get; set; }
Property Value
BindedValue
The parameter/property to bind the propertyname to using the operator.
Declaration
[StringLength(500)]
public string BindedValue { get; set; }
Property Value
CompositeLogicalOperator
Indicates if this is an actual comparison filter, or a logical composite operator that has children filters. Can
be:
Declaration
[EnumDataType(typeof(FilterLogicalCompositeOperator))]
public FilterLogicalCompositeOperator CompositeLogicalOperator { get; set; }
Property Value
Declaration
[NotMapped]
public string CompositeLogicalOperator_Tooltip { get; set; }
Property Value
DataSetQueryableItemID
[Key] Links to IDataSetQueryableItem. The parent dataset queryable item this filter belongs to.
Declaration
public Guid? DataSetQueryableItemID { get; set; }
Property Value
DataSetQueryableItemID_Label
Declaration
public string DataSetQueryableItemID_Label { get; set; }
Property Value
DataSetQueryableItemID_Label_Silent
Declaration
[NotMapped]
public string DataSetQueryableItemID_Label_Silent { get; set; }
Property Value
DatasetID
[Key] Links to IDataset. The parent dataset this filter belongs to.
Declaration
public Guid? DatasetID { get; set; }
Property Value
DatasetID_Label
Declaration
public string DatasetID_Label { get; set; }
Property Value
DatasetID_Label_Silent
Declaration
[NotMapped]
public string DatasetID_Label_Silent { get; set; }
Property Value
FilterFromJoin
Indicates this where filter should be applied in the actual Join of the Queryable Item instead of on the where
clause for performance
Declaration
public bool FilterFromJoin { get; set; }
Property Value
HardcodedValue
A hardcoded value to compare the Queryable Item Property to using the comparison Operator.
Declaration
[StringLength(500)]
public string HardcodedValue { get; set; }
Property Value
HardcodedValue_Label
A hardcoded value label for user evaluation of this filter.
Declaration
[StringLength(500)]
public string HardcodedValue_Label { get; set; }
Property Value
Label
The system generated label of this filter
Declaration
[Required]
[StringLength(500)]
public string Label { get; set; }
Property Value
Operator
The operator of this filter action.
Declaration
[EnumDataType(typeof(SQLOperator))]
public SQLOperator Operator { get; set; }
Property Value
Declaration
[NotMapped]
public string Operator_Tooltip { get; set; }
Property Value
ParentID
Lins to IFilterDescriptor. Holds the parent filter this is a child of if part of a heirarchical
filter
Declaration
public Guid? ParentID { get; set; }
Property Value
ParentID_Label
Declaration
public string ParentID_Label { get; set; }
Property Value
ParentID_Label_Silent
Declaration
[NotMapped]
public string ParentID_Label_Silent { get; set; }
Property Value
PropertyAggregate
Declaration
[EnumDataType(typeof(AggregateFunction))]
public AggregateFunction PropertyAggregate { get; set; }
Property Value
Declaration
[NotMapped]
public string PropertyAggregate_Tooltip { get; set; }
Property Value
PropertyName
The property name being filtered.
Declaration
[StringLength(500)]
public string PropertyName { get; set; }
Property Value
Sequence
Holds the order of this descriptor item in the set
Declaration
public short Sequence { get; set; }
Property Value
VennSetID
[Key] Links to IVennSet. The parent dataset this filter belongs to.
Declaration
public Guid? VennSetID { get; set; }
Property Value
VennSetID_Label
Declaration
public string VennSetID_Label { get; set; }
Property Value
VennSetID_Label_Silent
Declaration
[NotMapped]
public string VennSetID_Label_Silent { get; set; }
Property Value
VennSetQueryableItemID
Declaration
public Guid? VennSetQueryableItemID { get; set; }
Property Value
VennSetQueryableItemID_Label
Declaration
public string VennSetQueryableItemID_Label { get; set; }
Property Value
VennSetQueryableItemID_Label_Silent
Declaration
[NotMapped]
public string VennSetQueryableItemID_Label_Silent { get; set; }
Property Value
WrapBindingValueInIsNull
Indicates the Source Property of this filter should be wrapped in an IsNull clause to match the specified value if
null.
Declaration
public bool WrapBindingValueInIsNull { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IFilterDescriptor)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IFilterDescriptor source)
Parameters
Type |
Name |
Description |
IFilterDescriptor |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
UpdateAllIDs(Func<Type, Guid, Guid>)
Allows this item to update its ids through calling a function that given an original ID will return the new id of
that item created while importing all items. If the original id is still the same that will be returned.
Declaration
public void UpdateAllIDs(Func<Type, Guid, Guid> findNewID)
Parameters
Implements
Extension Methods