Questions tagged [queryinterceptor]
10 questions
4
votes
1 answer
Operation instead of query interceptor (WCF Data Services)
I was reading about query interceptors. I was disappointed because thats more like a filter instead of an interceptor. In other words you can eather include records or not include them. You are not able to modify records for instance.
If I want to…

Tono Nam
- 34,064
- 78
- 298
- 470
2
votes
1 answer
QueryInterceptor on all entities
Is it possible to make a custom QueryInterceptor in a WCF Data Service on all entites instead of only one? This is a standard QueryInterceptor:
[QueryInterceptor("Products")]
public Expression> OnQueryProducts()
{
var user =…

Jan Hommes
- 5,122
- 4
- 33
- 45
2
votes
1 answer
WCF data service permission on individual table columns instead of on whole entities
Note the bounty is asking about the edited portion of this question. First part is describing the problem
I have a table
Customer
-----
Name
Address
SocialSecurity
Phone
Etc....
I have another table called
Permissions …

Tono Nam
- 34,064
- 78
- 298
- 470
1
vote
0 answers
Intercepting query result using hibernate interceptor
I want to interceptor to the data fetch from database using hibernate that if in my data, particular field is present then get the value and check if that value is applicable to the user who queried it.
My application uses spring mvc with hibernate.…

G555
- 105
- 1
- 14
1
vote
0 answers
Entityframework Ignores includes on custom built expression
Currently I'm working on a project which has an additional layer built on top of Entityframework for Converting Queries from entity to DTO. We use a custom queryables to abstract the expression creation to call convert before materializing.
public…

johnny 5
- 19,893
- 50
- 121
- 195
1
vote
1 answer
Why is IDbCommandTreeInterceptor being skipped on second query?
Using entity framework I have implemented soft delete & data level restriction with IDbCommandTreeInterceptor. For the first query using the context, the interceptor gets hit. But trying again (refreshing browser), the interceptor is skipped. I have…

John Staurt
- 225
- 3
- 13
1
vote
1 answer
WCF Data Service: Intercepting all queries
I've been trying to secure my WCF data service by developing a customized per-session authentication mechanism that identifies the client based on multiple criteria. Then I wanna intercept all queries and non-query request based on the result of…

Transcendent
- 5,598
- 4
- 24
- 47
1
vote
0 answers
What is Query Interception in simple words?
I have come across this topic and I did read the documentation in the MSDN website but I can't digest it. What I could understand so far is that these might be similar to Triggers or Stored Procedures in SQL but I'm unsure to what extent what I…

Arnold Zahrneinder
- 4,788
- 10
- 40
- 76
0
votes
1 answer
Dynamic @Table name based on input
We have Hibernate based application where due to a large data set, two sets of tables are created where user_id will either be mapped in the UserTickets table or RestOfWorldTickets table.
Would like to know how @Table on the entity java objects can…

Srinivas Lakshman
- 31
- 8
0
votes
1 answer
OData Web API Query Interceptor
OData endpoint is created using ASP.NET Web API 2.0
Trying to create a Query Interceptor in the ODataController like shown in the below code:
public class AVMItemController : ODataController
{
ADWAppContext sampleADW = new…

Srinivas
- 2,479
- 8
- 47
- 69