| Start |
|---|
| QueryFilter class This class holds predicate filters values. Enum to hold the operations values: |
GetExpression Method |
GetExpression Private overload For one filter:Here is where the query is created, it receives a expression parameter and a filter. For two filters:It returns the BinaryExpresion instance instead of the simple Expression. |
| ConstantExpression Method
|
| Usage Collection filters = new List(); QueryFilter filter = new QueryFilter("Name", "Burger", Operator.StartsWith); filters.Add(filter); In this case, it is a query against the Food entity, that want to find all foods that start with "Burger" in the name. Output:RemarksThe class is called One public method
All the methods are explained in details in the examples. |
Read Article
https://develop.horje.com/learn/1434/reference