Skip to content

IQueryable - powerful but sometimes dangerous? #636

Answered by PaoloPia
s-KaiNet asked this question in General
Discussion options

You must be logged in to vote

Hi @s-KaiNet,
Thanks for sharing your POV. Let me try to explain the reasoning we applied behind the scenes when we designed the *Collections and the IQueryable support in PnP Core SDK.

At the very beginning, in early alphas/betas, the PnP Core SDK was not using the LINQ query model. We changed our minds because we were experiencing usability issues related to when and how to load data in memory, considering that we have a PnPContext instance with a hierarchy of in-memory objects (context.Web.Lists for example). Let me try to explain! Without a LINQ query provider, what should we do when a developer executes a request for a list of objects (like lists, for example) filtered by specific cr…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jansenbe
Comment options

@s-KaiNet
Comment options

@jansenbe
Comment options

Answer selected by s-KaiNet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants