In some cases we crave filtering data for user

We can visit most expressions using QueryPreprocessor

But some code statements bypass it

Would be great if QueryPreprocessor would be used to access to entity property and EntitySet through '.'


var item = Query.All<SomeEntity>().First(); // Already use QueryPreprocessor
var link = item.Link; // Lazy load, want QueryPreprocessor
var list = item.SomeList; // Another lazy load, want QueryPreprocessor too

asked Sep 29 '17 at 07:42

Gushchin%20Anton's gravatar image

Gushchin Anton

One Answer:

Hello Anton,

Lazy-load field prefetch mechanisms do not use expressions to load value but use lower APIs to form queries. It prevents us from giving such access.

answered Oct 18 '17 at 01:05

Alexey%20Kulakov's gravatar image

Alexey Kulakov

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA