Interface IFilterPredicateExpression
Defines the extension methods for getting the expression for the filter extensions.
Namespace: Syncfusion.UI.Xaml.Data
Assembly: Syncfusion.Data.WinUI.dll
Syntax
public interface IFilterPredicateExpression
Methods
GetPredicateExpression(IQueryable, out ParameterExpression)
Gets the predicate expression for the given source and parameter expression.
Declaration
Expression GetPredicateExpression(IQueryable source, out ParameterExpression parameterExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.IQueryable | source | The IQueryable source |
System.Linq.Expressions.ParameterExpression | parameterExpression | The parameter expression. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | The predicate expression for the given source and parameter expression. |
GetPredicateExpression(IQueryable, out ParameterExpression, String, Boolean)
Gets the predicate expression for the given values.
Declaration
Expression GetPredicateExpression(IQueryable source, out ParameterExpression parameterExpression, string columnName, bool returnColumnExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.IQueryable | source | The IQueryable source. |
System.Linq.Expressions.ParameterExpression | parameterExpression | The parameter expression. |
System.String | columnName | The column name. |
System.Boolean | returnColumnExpression | A boolean value indicating whether to return the column expression. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | The predicate expression for the given values. |