<?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 : Executing a query server side in a svc</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Executing a query server side in a svc</description>
  <pubDate>Sat, 11 Apr 2026 04:30:23 -700</pubDate>
  <lastBuildDate>Thu, 11 Oct 2012 11:18:23 -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=3702</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>Executing a query server side in a svc :   You should not use the DefaultEntityManager.I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14825#14825</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> 3702<br /><strong>Posted:</strong> 11-Oct-2012 at 11:18am<br /><br />You should not use the DefaultEntityManager.<div>I am slightly confused by your code as the reference to DefaultEntityManager is commented out, so I actually assumed that the line:</div><div>&nbsp;</div><div><em>manager = new DomainModel.Admin.MyAdminEntities(EntityManager.DefaultManager);</em><br></div><div>is active in your app. (i.e. not commented out)</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 11 Oct 2012 11:18:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14825#14825</guid>
  </item> 
  <item>
   <title>Executing a query server side in a svc :   And so what should I use?...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14814#14814</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3702<br /><strong>Posted:</strong> 10-Oct-2012 at 11:16pm<br /><br />And so what should I use? there's no problem for me to login at the server side...<div></div><div>can you please provide me a sample?</div><div>&nbsp;</div><div>Thanks</div>]]>
   </description>
   <pubDate>Wed, 10 Oct 2012 23:16:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14814#14814</guid>
  </item> 
  <item>
   <title>Executing a query server side in a svc :   Hi Paolo,The issue you are...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14811#14811</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> 3702<br /><strong>Posted:</strong> 10-Oct-2012 at 10:11am<br /><br />Hi Paolo,<div>&nbsp;</div><div>The issue you are facing is due to the fact that the DefaultManager is static and should not be used across threads.</div><div>Also note that since you are using the EntityManager in a service you will need to log it in to perform queries. (i.e. unlike the EntityManager in the LoginManager, that is automatically logged in)</div><div>&nbsp;</div><div>sbelini.</div>]]>
   </description>
   <pubDate>Wed, 10 Oct 2012 10:11:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14811#14811</guid>
  </item> 
  <item>
   <title>Executing a query server side in a svc : Hello,I&amp;#039;ve got a svc service...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14794#14794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3702<br /><strong>Posted:</strong> 09-Oct-2012 at 6:55am<br /><br />Hello,<br>I've got a svc service that I user for managing authentication stuff...when a User changes the password I should insert some data in 2 table...(I'm on the server side)<br><br>When I do <br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my.DomainModel.Admin.TMRAdminEntities manager = new my.DomainModel.Admin.myAdminEntities();<br><br>// &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; manager = new DomainModel.Admin.MyAdminEntities(EntityManager.DefaultManager);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = manager.aspnet_Users.Where(o1 =&gt; o1.UserName == username).Include("USER_ACCOUNT_EXPIRY");<br><br>I got :<br><br>EntityManager.DefaultManager is not available on the server because of threading and security concerns associated with static properties.<br><br>How can I use Ideablade on the server side?<br>Thanks<br>]]>
   </description>
   <pubDate>Tue, 09 Oct 2012 06:55:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3702&amp;PID=14794#14794</guid>
  </item> 
 </channel>
</rss>