Radzen 6 dynamic linq filter parameter

Upgrading to Radzen 6, this query to filter via old dynamic linq library does not work anymore. What should be the correct way to filter now for this case?

    private string filterFinalizate = $"Status == {(int)FormSubmissionStatus.Finalizata}";
    private string filterNefinalizate = $"Status != {(int)FormSubmissionStatus.Finalizata}";

Try to use directly the enum instead the int value.

I did try that and also tried to hardode my int value but with the same error: "Invalid predicate: Status != 6". Status is an Enum of type FormSubmissionStatus.

This is exactly the opposite of what I've suggested. Check also this post for details on what is changed:

For example you need to have valid lambda function with instance name when accessing a property.