For those interested in the outcome:
I was missing a simple Using statement at the head of my code.
using System.Linq;
This fixed it right up.
More Related Contents:
- How to convert an expression tree to a partial SQL query?
- Max return value if empty query
- Group by with multiple columns using lambda
- delegate keyword vs. lambda notation
- Ignoring a class property in Entity Framework 4.1 Code First
- What difference does .AsNoTracking() make?
- What is the purpose of self tracking entities?
- LINQ to Entities does not recognize the method ‘Double Parse(System.String)’ method, and this method cannot be translated into a store expression
- Unable to update the EntitySet – because it has a DefiningQuery and no element exist
- Why is .Contains slow? Most efficient way to get multiple entities by primary key?
- Entity Framework – Code First – Can’t Store List
- Entity Framework/Linq EXpression converting from string to int
- LINQ to Entities only supports casting EDM primitive or enumeration types with IEntity interface
- Lambda variable capture in loop – what happens here? [duplicate]
- linq to entities doesn’t recognize a method
- Enable Migrations with Context in Separate Assembly?
- Internal .NET Framework Data Provider error 1025
- Include with FromSqlRaw and stored procedure in EF Core 3.1
- LINQ – Query syntax vs method chains & lambda [closed]
- How to filter data using Entity Framework in a way that DataGridView be editable and context track changes?
- Entity Framework Code Only error: the model backing the context has changed since the database was created
- What does “DisplayClass” name mean when calling lambda?
- How to compare only Date without Time in DateTime types?
- Set database timeout in Entity Framework
- EF5 Getting this error message: Model compatibility cannot be checked because the database does not contain model metadata
- Remove item from list based on condition
- Change db table name in EF4 (entity framework 4)
- Getting names of local variables (and parameters) at run-time through lambda expressions
- Get the property name used in a Lambda Expression in .NET 3.5
- Net Core: Using OData in Onion Architecture, Convert Query Parameters Into Linq