IQueryable Friday!

by QuayTech Support for Blog
IQueryable Friday!

IQueryable

It can be useful to allow operations on an IQueryable without exposing the IQueryable itself.

For example if you want to allow the vast amount of LINQ commands through a repository, but without exposing the IQueryable itself (as the caller may attempt to use the IQueryable after the repository has been disposed).

This can be done with a generic repository method that takes a function that operates on an IQueryable, for example:

 

Comments, or Questions?  Get in touch.

Getting the most out of Dynamics 365 Activities
Prev post We are here! New Office in Whitstable!

Well, we are here - New Office in Whitstable! All moved in, set-up and raring to develop…

Getting the most out of Dynamics 365 Activities
Next post Getting the most out of Dynamics 365 Activities

Our client wanted to extend the use of how they were using their Dynamics 365 application.…