Custom paging provider

The OData protocol supports a feature called Server driven paging. It is used to limit the amount of data client can query with a single request while still providing a way from the client to get all the data (in multiple requests). A more detailed explanation is for available for example in this blog post….

1

Projections in custom providers – Simple solution

Implementing custom provider for WCF Data Services is complicated enough. The fact that for the really interesting providers it’s also necessary to implement a custom IQueryable makes things just so much more complicated. Based on feedback from multiple parties trying to implement the IQueryable for WCF Data Services one of the most challenging tasks is…

3

Adding Multi-Value properties to untyped providers

With the recent release of the WCF Data Services Oct 2010 CTP1 for .NET4 the WCF Data Services now has the ability to expose Multi-Value properties (formerly called “Bags”). These can come very handy when you want to include short collections of primitive or complex types on your entities (or other complex types). In this…

1

Data Services Expressions – Part 9 – Expansions

Series: This post is the ninth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. In the last post we looked at projections, which leaves us with just one last big feature, expansions. The $expand query option Query which targets a certain entity by default returns just primitive and…

4

Data Services Expressions – Part 8 – Projections

Series: This post is the eighth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. Projections feature is visible in the URL through the $select query option. It allows the client to ask the server to only return a subset of properties on the returned entities. In this post…

2

Data Services Expressions – Part 7 – Navigation

Series: This post is the seventh part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. In this post we will examine how navigations are expressed by the WCF Data Services and what the provider needs to do to correctly support them. What is navigation In the OData model, entities…

0

Data Services Expressions – Part 6 – Key lookup

Series: This post is the sixth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. We will be looking into navigations in the next couple of posts. To be able to do that we first have to explain so called key lookups. With a query to a given entity…

0

Data Services Expressions – Part 5 – Sorting

Series: This post is the fifth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. This time we will look at how WCF Data Services translates sorting expressions. Sorting expression are used when the URL uses a query option $orderby. Simple sorting In the expression trees, sorting is expressed…

0

Data Services Expressions – Part 4 – Accessing properties

Series: This post is the fourth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. In this part we will talk about accessing properties in the expressions. WCF Data Services may need to access a property value in many different places in the query, but it always uses the…

0

Data Services Expressions – Part 3 – Filters

Series: This post is the third part of the Data Service Expressions Series which describes expressions generated by WCF Data Services. In this part we will look at how filters are represented in the expressions. The Queryable.Where method Filters are meant to filter the entities (rows) returned from a given resource set. The client specifies…

0