<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Service Operations in ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx</link><description>One way in which you can expose additional resources from your ADO.NET Data Service is to implement "service operations" on your WebDataService subclass. For example, let's say we want to return all customers in a given city in a pre-baked entry point.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; Service Operations in ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7195773</link><pubDate>Tue, 22 Jan 2008 12:08:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7195773</guid><dc:creator>MSDN Blog Postings  » Service Operations in ADO.NET Data Services</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2008/01/22/service-operations-in-adonet-data-services/"&gt;http://msdnrss.thecoderblogs.com/2008/01/22/service-operations-in-adonet-data-services/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Service Operations in ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7199113</link><pubDate>Tue, 22 Jan 2008 18:28:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7199113</guid><dc:creator>Roger Jennings</dc:creator><description>&lt;p&gt;It appears to me that&lt;/p&gt;
&lt;p&gt;SingleResult]&lt;/p&gt;
&lt;p&gt;[WebGet]&lt;/p&gt;
&lt;p&gt;public IQueryable&amp;lt;DateTime&amp;gt; LastOrderDate()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var result =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from o in this.CurrentDataSource.Orders&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;orderby o.OrderDate&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select o;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return result.Take(1).Select((o) =&amp;gt; o.OrderDate.Value);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Will return the FirstOrderDate. Isn't &amp;quot;descending&amp;quot; missing?&lt;/p&gt;
&lt;p&gt;--rj&lt;/p&gt;
</description></item><item><title>re: Service Operations in ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7199837</link><pubDate>Tue, 22 Jan 2008 20:23:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7199837</guid><dc:creator>marcelolr</dc:creator><description>&lt;p&gt;Roger, you're correct - this returns the order with the &amp;quot;smallest&amp;quot; date, which is the oldest one in the set, rather than the most recent one. Good catch - I completely missed that when I was trying this out before posting.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>Mike Taulty on ADO.NET Data Service Operations</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7246930</link><pubDate>Sat, 26 Jan 2008 00:25:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7246930</guid><dc:creator>Marcelo's WebLog</dc:creator><description>&lt;p&gt;Speaking of service operations , Mike Taulty has a screen cast on them here - much nicer than my dry&lt;/p&gt;
</description></item><item><title>Throwing Exceptions from ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7313394</link><pubDate>Wed, 30 Jan 2008 00:53:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7313394</guid><dc:creator>Marcelo's WebLog</dc:creator><description>&lt;p&gt;Exception handling can be tricky in a distributed system, and I'd like to use this post to show a couple&lt;/p&gt;
</description></item><item><title>re: Service Operations in ADO.NET Data Services</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#7329523</link><pubDate>Wed, 30 Jan 2008 20:14:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7329523</guid><dc:creator>Jeremy</dc:creator><description>&lt;p&gt;Great post! - Thanks for these samples. Got me up to speed in less than 30 minutes.&lt;/p&gt;
</description></item><item><title>ADO.NET Data Services support for $value</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#8731002</link><pubDate>Mon, 14 Jul 2008 09:47:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8731002</guid><dc:creator>Marcelo's WebLog</dc:creator><description>&lt;p&gt;Today's entry is about a feature that allows ADO.NET Data Services to play very nicely with other software&lt;/p&gt;
</description></item><item><title>ADO.NET Data Services: how to invoke a WebGet service operation from a WebClient</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#9002546</link><pubDate>Fri, 17 Oct 2008 02:49:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9002546</guid><dc:creator>Johan's Avanade Blog</dc:creator><description>&lt;p&gt;I have been working lately with ADO.NET Data Services, and I found several tutorials on how to create...&lt;/p&gt;
</description></item><item><title>Aggiunta di Operations in ADO.NET Data Services e utilizzo in Silverlight 2</title><link>http://blogs.msdn.com/marcelolr/archive/2008/01/21/service-operations-in-ado-net-data-services.aspx#9022005</link><pubDate>Wed, 29 Oct 2008 14:02:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9022005</guid><dc:creator>davcup's Blog</dc:creator><description>&lt;p&gt;ADO.Net Data Services oltre ad esporre i metodi CRUD per lavorare con le entities, permette anche di&lt;/p&gt;
</description></item></channel></rss>