Skip to content

Query: SQL LIKE statement (wildcards) using LINQ #6159

@axelheer

Description

@axelheer

In the "old" Entity Framework it was possible to use SqlFunctions in order to create something like an ordinary LIKE statement.

... where SqlFunctions.PatIndex("%na_f%", x.Name) > 0...

While in the "new" Entity Framework there seems to be no replacement for SqlFunctions. That approach was a workaround anyway, but some way to use a simple LIKE statement would be very useful. If not essential.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions