Skip to content

LINQLikeOperator: .NET 10, EF Core 10 and wildcard escaping sample - #2362

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/80291-csharp-sql-like-operator-with-linq
Nov 22, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/80291-csharp-sql-like-operator-with-linq

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the LINQLikeOperator sample from .NET 7 and EF Core 7.0.1 to .NET 10 and EF Core 10.0.14, adds a direct System.Security.Cryptography.Pkcs 10.0.14 reference to clear two transitive vulnerability warnings, updates the test packages to xunit 2.9.3, and adds a LikePattern.Escape helper, three user-input LIKE queries and an in-memory Regex example to Program.cs, with four new tests that show how Contains and EF.Functions.Like treat wildcards in a search term.

…ng sample

Both projects target net10.0 with EF Core 10.0.14 and a direct System.Security.Cryptography.Pkcs 10.0.14 reference to clear the transitive vulnerability warnings. Test packages updated (xunit 2.9.3). Adds LikePattern.Escape, user-input LIKE queries and an in-memory Regex example to Program.cs, and four tests covering wildcards in search terms.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit b8aef71 into CodeMazeBlog:main Nov 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant