How does EF Core translate LINQ into SQL?
EF Core builds an expression tree from an IQueryable LINQ query and asks the configured database provider to translate supported expressions into its query language, usually SQL. The query is normally sent only when it is enumerated or materialized.