<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Execute Stored Procedure With ADO.NET Data Services</title>
	<atom:link href="http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/</link>
	<description>a learning effort by Deepak Kapoor</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:29:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Danny</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-172111</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Fri, 07 Oct 2011 02:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-172111</guid>
		<description>Thanks.  I followed your steps, but my &quot;Add Function Import&quot; is scalar with string result.  I could not find a way to execute my stored procedure with couple parameters.  I had worked on this for all day and could not find solution for my ASP.NET MVC3 app to receive HTTP POST from client and return data against our SQL database.  If you have any solution, please lead me.  Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks.  I followed your steps, but my &#8220;Add Function Import&#8221; is scalar with string result.  I could not find a way to execute my stored procedure with couple parameters.  I had worked on this for all day and could not find solution for my ASP.NET MVC3 app to receive HTTP POST from client and return data against our SQL database.  If you have any solution, please lead me.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-48585</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Tue, 16 Nov 2010 23:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-48585</guid>
		<description>Hi Paul,

I have not worked with Silverlight much but by looking at documentation for IAsyncResult I can see that it only returns the status of an async operation. However the method signature for EndExecute is 

public IEnumerable&lt;TElement&gt; EndExecute(
    IAsyncResult asyncResult
)

What do you see in the IEnumerable&lt;TElement&gt; returned back to you? Could the value you are looking for be in it?</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I have not worked with Silverlight much but by looking at documentation for IAsyncResult I can see that it only returns the status of an async operation. However the method signature for EndExecute is </p>
<p>public IEnumerable<telement> EndExecute(<br />
    IAsyncResult asyncResult<br />
)</p>
<p>What do you see in the IEnumerable</telement><telement> returned back to you? Could the value you are looking for be in it?</telement></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-48583</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Tue, 16 Nov 2010 23:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-48583</guid>
		<description>Hi thanks i can reurn the boolean result correct but in silverlight ( sorry this question is more sivlerlight based) because of the Asynch calls to beginexecute and endExecute
all resultants need to be converted to a resultant queryable type
i have the operation working fine the
beginexecute is fired 
the stored procedure fires in the database
the callback happens 

BUT i am unable to convert the iasynch result to a boolean operator?</description>
		<content:encoded><![CDATA[<p>Hi thanks i can reurn the boolean result correct but in silverlight ( sorry this question is more sivlerlight based) because of the Asynch calls to beginexecute and endExecute<br />
all resultants need to be converted to a resultant queryable type<br />
i have the operation working fine the<br />
beginexecute is fired<br />
the stored procedure fires in the database<br />
the callback happens </p>
<p>BUT i am unable to convert the iasynch result to a boolean operator?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-48582</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Tue, 16 Nov 2010 23:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-48582</guid>
		<description>Hi Paul,

I have not tried your example but I&#039;m certain that returning a boolean result should be okay.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I have not tried your example but I&#8217;m certain that returning a boolean result should be okay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-48556</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Tue, 16 Nov 2010 20:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-48556</guid>
		<description>hi there thanks for the article
i was wondering if it is possible to return a boolean result  which is the correction operation of the stored procedure
i am consuming the service in a viewmodel in silverlight application and want to parse the result of operation in the client callback method 

service is 
[webget]
public bool dostuffstoredprocedure(string arg1,string arg2)
{
private bool theboolresult= false;
try
{
                CurrentDataSource.SetPassword(arg1, arg2);
                theboolresult = true;
}
catch( Exception Ex)
{
              // log Ex here
             theboolresult=false;

}

return theboolresult;

}</description>
		<content:encoded><![CDATA[<p>hi there thanks for the article<br />
i was wondering if it is possible to return a boolean result  which is the correction operation of the stored procedure<br />
i am consuming the service in a viewmodel in silverlight application and want to parse the result of operation in the client callback method </p>
<p>service is<br />
[webget]<br />
public bool dostuffstoredprocedure(string arg1,string arg2)<br />
{<br />
private bool theboolresult= false;<br />
try<br />
{<br />
                CurrentDataSource.SetPassword(arg1, arg2);<br />
                theboolresult = true;<br />
}<br />
catch( Exception Ex)<br />
{<br />
              // log Ex here<br />
             theboolresult=false;</p>
<p>}</p>
<p>return theboolresult;</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Les Prigmore</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-31148</link>
		<dc:creator>Les Prigmore</dc:creator>
		<pubDate>Tue, 17 Aug 2010 19:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-31148</guid>
		<description>OK, This is all looking good and I understand it completely and thank you for covering it so thouroughly.  Now, using Silverlight 4, can you please, please, please show me the code to put the result set from &quot;GetEmployeesByCity&quot; into a DataGrid? Thank you so much in advance.....Les Prigmore</description>
		<content:encoded><![CDATA[<p>OK, This is all looking good and I understand it completely and thank you for covering it so thouroughly.  Now, using Silverlight 4, can you please, please, please show me the code to put the result set from &#8220;GetEmployeesByCity&#8221; into a DataGrid? Thank you so much in advance&#8230;..Les Prigmore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-27152</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Mon, 19 Jul 2010 04:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-27152</guid>
		<description>Monte,

I could not get your solution to compile.</description>
		<content:encoded><![CDATA[<p>Monte,</p>
<p>I could not get your solution to compile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monte Baker</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-26791</link>
		<dc:creator>Monte Baker</dc:creator>
		<pubDate>Thu, 15 Jul 2010 15:56:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-26791</guid>
		<description>Were you ever able to figure out what I was doing wrong.  I never heard back from you (either that or your email was redirected to my spam folder)</description>
		<content:encoded><![CDATA[<p>Were you ever able to figure out what I was doing wrong.  I never heard back from you (either that or your email was redirected to my spam folder)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-26119</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 08 Jul 2010 00:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-26119</guid>
		<description>Hi Monte,

This is turning into an interesting problem. Is it possible for you to send me your code. I can have a look and respond. my email is k a p o o r d e e p a k AT g m a i l . c o m</description>
		<content:encoded><![CDATA[<p>Hi Monte,</p>
<p>This is turning into an interesting problem. Is it possible for you to send me your code. I can have a look and respond. my email is k a p o o r d e e p a k AT g m a i l . c o m</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monte Baker</title>
		<link>http://www.thereforesystems.com/execute-stored-procedure-with-adonet-data-services/comment-page-1/#comment-26108</link>
		<dc:creator>Monte Baker</dc:creator>
		<pubDate>Wed, 07 Jul 2010 19:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/?p=666#comment-26108</guid>
		<description>I have tried your exact solution using the GetEmployeesByCity Procedure in the NorthWind database.  I am able to view the method when I do not include a parameter &quot;NorthwindEmployeeService.svc/GetEmployeesByCity&quot;, but it fails when I try to add city name &quot;NorthwindEmployeeService.svc/GetEmployeesByCity?cityName=’London’&quot;,I recieve a &quot;The webpage cannot be found&quot; error .  My code now exactly matches your sample.  does this provide any guidance as to what could be wrong?</description>
		<content:encoded><![CDATA[<p>I have tried your exact solution using the GetEmployeesByCity Procedure in the NorthWind database.  I am able to view the method when I do not include a parameter &#8220;NorthwindEmployeeService.svc/GetEmployeesByCity&#8221;, but it fails when I try to add city name &#8220;NorthwindEmployeeService.svc/GetEmployeesByCity?cityName=’London’&#8221;,I recieve a &#8220;The webpage cannot be found&#8221; error .  My code now exactly matches your sample.  does this provide any guidance as to what could be wrong?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

