CriteriaFieldExpressionReplacer class
namespace: Serenity.Data assembly: Serenity.Net.Services
Converts field names in a criteria to their corresponding SQL field expressions.
public class CriteriaFieldExpressionReplacer : SafeCriteriaValidator
Public Members
| name | description |
|---|---|
| CriteriaFieldExpressionReplacer(…) | Creates an instance of the class |
| Process(…) | Visits the criteria for conversion and returns a processed criteria containing replaced field expressions. |
Protected Members
| name | description |
|---|---|
| Row { get; } | The row instance |
| virtual CanFilterField(…) | Virtual method to check if a Field can be filtered. |
| virtual FindField(…) | Finds a field by its property name or field name |
| override VisitBinary(…) | |
| override VisitCriteria(…) |
See Also
- class SafeCriteriaValidator
- Source: CriteriaFieldExpressionReplacer.cs