Skip to content

LINQ Where method sample: .NET 11 and EF Core 11 - #2421

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/120829-csharp-linq-where-method
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/120829-csharp-linq-where-method

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the LinqWhereMethod sample to net11.0 with EF Core 11.0.0 (all four packages), xunit 2.9.3, xunit.runner.visualstudio 4.0.1, Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.0. Adds a query syntax version of the even numbers filter, a client-side Func filter that shows why a database predicate belongs in an Expression, and a deferred execution demo in Program.cs, with three new tests. Initializes the two required navigations with null! to clear the nullable warnings, renames two locals to camelCase, and fixes the Nancy test to assert the same year condition the method filters on.

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