RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbLookup.TableProcessing Namespace
RingSoft.DbMaintenance Namespace

RelatedTableFilterDefinition<(Of <(<'TRelatedEntity>)>)>..::..AddFixedFilter Method (Expression<(Of <(<'Func<(Of <(<'TRelatedEntity, Boolean>)>)>>)>)>, Conditions, Boolean)

Adds a fixed filter.

Namespace:  RingSoft.DbLookup.TableProcessing
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public FieldFilterDefinition AddFixedFilter(
	Expression<Func<TRelatedEntity, bool>> propertyExpression,
	Conditions condition,
	bool value
)
Public Function AddFixedFilter ( _
	propertyExpression As Expression(Of Func(Of TRelatedEntity, Boolean)), _
	condition As Conditions, _
	value As Boolean _
) As FieldFilterDefinition
public:
FieldFilterDefinition^ AddFixedFilter(
	Expression<Func<TRelatedEntity, bool^>^>^ propertyExpression, 
	Conditions^ condition, 
	bool^ value
)

Parameters

propertyExpression
Type: Expression<(Of <(<'Func<(Of <(<'TRelatedEntity, Boolean>)>)>>)>)>
The property expression.
condition
Type: RingSoft.DbLookup.QueryBuilder..::..Conditions
The condition.
value
Type: Boolean
if set to true [value].

Return Value

The added filter.