Skip to content

Case insensitive operations #10

@mdima

Description

@mdima

Hello,
is there any way to perform a case insensitive operation on an encrypted field?

What I would like to execute is something like:
ClassName = ClassName.Where(CN => CN.Surname.ToLower().Contains(Value.ToLower()));

or even better:
ClassName = ClassName.Where(CN => CN.Surname.Contains(Value, StringComparison.OrdinalIgnoreCase));

or finally:
ClassName = ClassName.Where(CN => CN.Surname.IndexOf(Value, StringComparison.OrdinalIgnoreCase) >= 0);

At the moment I am converting everything to list, then performing the where on "client side".

Thanks,
Michele

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions