I read when using LINQ to request a type request IQueryablebefore processing it, but when the request has been processed, it is no longer IQueryableas well ObjectQuery.
IQueryable
ObjectQuery
In this case, is it correct to write methods from my layer (repository layer) to return IQueryable?
Do I need to use?
Why do I want to return ObjectQuery?
I come from the LINQ to SQL background, where it has always been IQueryable, but EF seems to have changed that.
Any help is really appreciated.
IQueryable. , IQueryable EF, ObjectQuery. , , , ObjectQuery.
ObjectQuery - IQueryable . , , - Include, ( ). - EQL - . EQL - , . SQL. , ObjectQuery Linq-To-Entities.
Source: https://habr.com/ru/post/1763251/More articles:Inheriting a Model Using Programming Style Data Types - inheritanceSymfony class autoload in Zend_Framework - dependency-injectionSQLite SELECT that returns identifiers and positions - sqlTwo identical lines, but different lengths. Cropped, peeled, etc. - phpon iOS, how can I shift the navigationItem.leftBarButtonItem horizontally to the right? - iosEvents Delphi CreateOleObject - eventsActiveMQ and client authentication with certificate authentication - securityConvert date format to timestamp mysql - dateread android dmesg with code - androidR: polynomial short notation in the formula nls () - rAll Articles