<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Batch delete in Silverlight (and DF)</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Batch delete in Silverlight (and DF)</description>
  <pubDate>Tue, 12 May 2026 22:23:39 -700</pubDate>
  <lastBuildDate>Wed, 08 May 2013 10:37:45 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4142</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Batch delete in Silverlight (and DF) : You said:  &amp;#034;I want delete...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16308#16308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 08-May-2013 at 10:37am<br /><br />You said:<br /><br /><em>"I want delete a bulk of records in this proc."</em><br />So why not call the stored proc directly from client rather than invoke a server method and then call the stored proc?<br /><br /><br /><em><br />"I didn't understand how to use EM instance for this purpose. Also, I didn't understand how to use method described in the "Stored Procedure queries" topic for deleting of records"</em><br />In the second link I provided, there is a walkthrough explaining how to use a stored proc. The principle is the same and the two differences are that your stored procedure won't return anything and that you'd execute it synchronously (if you were to run it on the server). Have you gone thru the steps? If so, what issues have you come across? Post the exceptions, if any.<span style="font-size:10px"><br /><br />Edited by sbelini - 08-May-2013 at 3:15pm</span>]]>
   </description>
   <pubDate>Wed, 08 May 2013 10:37:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16308#16308</guid>
  </item> 
  <item>
   <title>Batch delete in Silverlight (and DF) : &amp;gt;&amp;gt;Can you explain why are...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16307#16307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1712" rel="nofollow">MaksimK</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 08-May-2013 at 10:29am<br /><br />&gt;&gt;Can you explain why are you trying to call a stored proc from a RSM? <br><br>I want delete a bulk of records in this proc.<br><br>&gt;&gt;In theory you could call it just as in the client by creating an EM instance: var em = new MyEntityManager(EntityManager); <br><br>I didn't understand how to use EM instance for this purpose. Also, I didn't understand how to use <br><br>method described in the "Stored Procedure queries" topic for deleting of records]]>
   </description>
   <pubDate>Wed, 08 May 2013 10:29:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16307#16307</guid>
  </item> 
  <item>
   <title>Batch delete in Silverlight (and DF) : MaksimK,  Can you explain why...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16305#16305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 08-May-2013 at 9:27am<br /><br />MaksimK,<br /><br />Can you explain why are you trying to call a stored proc from a RSM?<br /><br />In theory you could call it just as in the client by creating an EM instance:<br /><table width="99%"><tr><td><pre class="BBcode">var em = new MyEntityManager(EntityManager);</pre></td></tr></table><br /><br />]]>
   </description>
   <pubDate>Wed, 08 May 2013 09:27:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16305#16305</guid>
  </item> 
  <item>
   <title>Batch delete in Silverlight (and DF) : Howtocallstoredprocfromremoteservermethodcall...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16304#16304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1712" rel="nofollow">MaksimK</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 08-May-2013 at 6:32am<br /><br /><p>How&nbsp;to&nbsp;call&nbsp;stored&nbsp;proc&nbsp;from&nbsp;remote&nbsp;server&nbsp;method&nbsp;call ?</p>]]>
   </description>
   <pubDate>Wed, 08 May 2013 06:32:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16304#16304</guid>
  </item> 
  <item>
   <title>Batch delete in Silverlight (and DF) : MaksimK,  EF doesn&amp;#039;t have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16299#16299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 07-May-2013 at 10:34am<br /><br />MaksimK,<br /><br />EF doesn't have support for bulk updates/deletes. So, your option would be calling a stored procedure that would delete all the rows in your table. See <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/stored-procedure-queries" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/stored-procedure-queries</a> and <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-stored-procedure-queries-silverlight" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-stored-procedure-queries-silverlight</a>.]]>
   </description>
   <pubDate>Tue, 07 May 2013 10:34:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16299#16299</guid>
  </item> 
  <item>
   <title>Batch delete in Silverlight (and DF) : Hello!I need delete a bulk of...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16298#16298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1712" rel="nofollow">MaksimK</a><br /><strong>Subject:</strong> 4142<br /><strong>Posted:</strong> 07-May-2013 at 8:55am<br /><br /><div><span style="line-height: 1.4;">Hello!</span></div><div><span style="line-height: 1.4;">I need delete a bulk of entities and want NOT to load them&nbsp;beforehand to client. Is there any possibility&nbsp;</span><span style="line-height: 1.4;">to execute in Silverlight arbitrary stored proc/SQL (DELETE FROM ..) ?&nbsp;</span></div>]]>
   </description>
   <pubDate>Tue, 07 May 2013 08:55:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4142&amp;PID=16298#16298</guid>
  </item> 
 </channel>
</rss>