May 2010
Intermediate to advanced
1272 pages
61h 18m
English
One of the most common requirements of any data framework is the ability to perform queries. WCF Data Services allow two modes on the client side. The first one is utilizing query strings similarly to what it is possible to do with Uris. To accomplish this you invoke the Execute(Of T) method from the DataServiceContext class, where T is the type you want to retrieve a collection of. For example, the following code returns a collection of orders for the specified customer, sorted by order date:
![]()
This way is efficient but avoids the strongly typed approach provided by LINQ. Fortunately the .NET Framework also enables using a special ...
Read now
Unlock full access