IQueryable Friday!

by QuayTech Support for Blog
IQueryable Friday!


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.

We are Recruiting!
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…

We are Recruiting!
Next post We are Recruiting!

Exciting News!  We are RECRUITING! We are looking to expand our current team, therefore if…