Interface IFilterExt
Defines the extension methods for getting the expression for the filter extensions.
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
public interface IFilterExt
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 |
|---|---|---|
| IQueryable | source | The IQueryable source |
| ParameterExpression | parameterExpression | The parameter expression. |
Returns
| Type | Description |
|---|---|
| Expression | The predicate expression for the given source and parameter expression. |
GetPredicateExpression(IQueryable, out ParameterExpression, string, bool)
Gets the predicate expression for the given values.
Declaration
Expression GetPredicateExpression(IQueryable source, out ParameterExpression parameterExpression, string columnName, bool returnColumnExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| IQueryable | source | The IQueryable source. |
| ParameterExpression | parameterExpression | The parameter expression. |
| string | columnName | The column name. |
| bool | returnColumnExpression | A boolean value indicating whether to return the column expression. |
Returns
| Type | Description |
|---|---|
| Expression | The predicate expression for the given values. |