Class QueryableCollectionViewExtensions
Represents the class that maintains the collection view of type queryable collection view.
Inherited Members
Namespace: Syncfusion.Maui.DataSource
Assembly: Syncfusion.Maui.DataSource.dll
Syntax
public static class QueryableCollectionViewExtensions
Methods
GetPredicateExpressionExt(DataSource, IQueryable, out ParameterExpression)
Gets the predicate expression for the given source and parameter expression.
Declaration
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "<Pending>")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "<Pending>")]
public static Expression GetPredicateExpressionExt(this DataSource dataSource, IQueryable source, out ParameterExpression parameterExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| DataSource | dataSource | The DataSource. |
| IQueryable | source | The IQueryable source. |
| ParameterExpression | parameterExpression | The parameter expression. |
Returns
| Type | Description |
|---|---|
| Expression | The predicate expression for the given source and parameter expression. |
GetPredicateExpressionExt(DataSource, IQueryable, out ParameterExpression, string, bool)
Gets the predicate expression for the given source and parameter expression.
Declaration
[RequiresUnreferencedCode("The GetPredicateExpressionExt is not trim compatible")]
[RequiresDynamicCode("This method relies on dynamic code generation.")]
public static Expression GetPredicateExpressionExt(this DataSource dataSource, IQueryable source, out ParameterExpression parameterExpression, string columnName, bool returnExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| DataSource | dataSource | The DataSource. |
| IQueryable | source | The IQueryable source. |
| ParameterExpression | parameterExpression | The parameter expression. |
| string | columnName | The column name. |
| bool | returnExpression | A boolean value indicating whether to return the column expression. |
Returns
| Type | Description |
|---|---|
| Expression | The predicate expression for the given values. |