<?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 : Multi-Tenant Support?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Multi-Tenant Support?</description>
  <pubDate>Sun, 12 Apr 2026 21:38:57 -700</pubDate>
  <lastBuildDate>Wed, 01 Jun 2011 15:34:35 -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=2736</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>Multi-Tenant Support? : You can enforce tenant partitioning...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10876#10876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2736<br /><strong>Posted:</strong> 01-Jun-2011 at 3:34pm<br /><br />You can enforce tenant partitioning on the server by overriding FilterQuery in the EntityServerQueryInterceptor:<div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/query-server-lifecycle-&#101;vents#HFilteringthequery" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/query-server-lifecycle-events#HFilteringthequery</a><div><br></div></div><div>You might also find this page helpful:</div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/filtering-queries-globally" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/filtering-queries-globally</a></div><div><br></div><div>So, if you have a TenantID column on your tables, you can examine the IPrincipal of the user in the interceptor and apply a .Where(TenantId == userPrincipal.TenantId) clause to the query. This ensures that users only get data related to their TenantId, even if the client-side application developer forgets to apply the restriction (or is hacked to remove the restriction).</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 01 Jun 2011 15:34:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10876#10876</guid>
  </item> 
  <item>
   <title>Multi-Tenant Support? :   Thank you! But I don&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10875#10875</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1091" rel="nofollow">bap1</a><br /><strong>Subject:</strong> 2736<br /><strong>Posted:</strong> 01-Jun-2011 at 3:05pm<br /><br />Thank you!&nbsp; But I don't want to target multiple databases.&nbsp; We have 1000s of customers and that's way too many db's to manage.&nbsp; All data is in same db partitioned by key.&nbsp; I didn't see anything in your docs related to best practices on this type of implementation.&nbsp; Any suggestions would be much appreciated!]]>
   </description>
   <pubDate>Wed, 01 Jun 2011 15:05:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10875#10875</guid>
  </item> 
  <item>
   <title>Multi-Tenant Support? :   Hi bap1,You will find resourceful...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10872#10872</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> 2736<br /><strong>Posted:</strong> 01-Jun-2011 at 10:30am<br /><br />Hi bap1,<div>&nbsp;</div><div>You will find resourceful information in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/" target="_blank">DevForce Resource Center</a>.</div><div>Look for the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/multiple-entityservers" target="_blank">Multiple EntityServers</a>&nbsp;and <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/create-entitymanager-datasource-extensi&#111;n" target="_blank">Target different databases dynamically</a> topics.</div><div>You will also find the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-data-source-extensi&#111;ns" target="_blank">DataSourceExtensions</a> sample usefull.</div><div>&nbsp;</div><div>Silvio.</div>]]>
   </description>
   <pubDate>Wed, 01 Jun 2011 10:30:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10872#10872</guid>
  </item> 
  <item>
   <title>Multi-Tenant Support? :   Would some please point me...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10871#10871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1091" rel="nofollow">bap1</a><br /><strong>Subject:</strong> 2736<br /><strong>Posted:</strong> 01-Jun-2011 at 7:10am<br /><br />Would some please point me to info on Devforce's mult-tenant features?  You mention this in your marketing materials, but I don't see any reference to it in your docs.<div> </div><div>We have a&nbsp;large multi-tennant app we are considering moving to Devforce.&nbsp; We partition the database by customerID key and need to ensure all queries use customerID on the server...based on the user context of the currently logged in user.&nbsp;&nbsp; I assume we would implement a server side query interceptor?&nbsp; Can someone provide an example on how to do this?</div><div>&nbsp;</div><div>Thanks in advance.</div>]]>
   </description>
   <pubDate>Wed, 01 Jun 2011 07:10:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2736&amp;PID=10871#10871</guid>
  </item> 
 </channel>
</rss>