Skip to content

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

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/80291-csharp-sql-like-operator-with-linq
Open

vladimir-pecanac-main wants to merge 1 commit 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.
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