This question is locked. New answers and comments are not allowed.
Hello,
If I build an ADO.NET dataservice using the OA WCF wizard the OA classes from my model are available in the ADO.NET dataservice.
If I want to add an extra filter to the query, based on for instance the user role, when using the ADO.NET dataservice I can write a query interceptor. That's no problem. But what to do when I do not want to expose all the fields of the class?
In one application based on my OA model I want to use all the fields of the class mapped to the columns of the database table.
In my ADO.NET Dataservice I do not want to expose all the fields of the classes.
What's the best place to define the fields which are exposed in the ADO.NET Dataservice?
If I build an ADO.NET dataservice using the OA WCF wizard the OA classes from my model are available in the ADO.NET dataservice.
If I want to add an extra filter to the query, based on for instance the user role, when using the ADO.NET dataservice I can write a query interceptor. That's no problem. But what to do when I do not want to expose all the fields of the class?
In one application based on my OA model I want to use all the fields of the class mapped to the columns of the database table.
In my ADO.NET Dataservice I do not want to expose all the fields of the classes.
What's the best place to define the fields which are exposed in the ADO.NET Dataservice?