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

Data Services Expressions – Part 2 – The query root

Series: This post is the second part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. In this part we will first look how to watch the expressions generated by Data Services. Then we’re going to discuss our first expression, the query root. How to see the expression? To see…

2

Data Services Expressions – Part 1 – Intro

WCF Data Services uses Data Service Providers to determine the shape and actual values of the data to expose. There are two providers implemented already for you (Entity Framework provider and Reflection provider) and you can also implement a custom provider. Alex James is writing a great series about how to implement such custom provider….

0