<?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 : Get EntityGroup Name From Entity Name</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Get EntityGroup Name From Entity Name</description>
  <pubDate>Sat, 11 Apr 2026 21:29:05 -700</pubDate>
  <lastBuildDate>Thu, 16 Jul 2009 04:14:13 -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=1375</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>Get EntityGroup Name From Entity Name : Your are right, Thanks </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4959#4959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=429" rel="nofollow">mbevins1</a><br /><strong>Subject:</strong> 1375<br /><strong>Posted:</strong> 16-Jul-2009 at 4:14am<br /><br />Your are right, Thanks]]>
   </description>
   <pubDate>Thu, 16 Jul 2009 04:14:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4959#4959</guid>
  </item> 
  <item>
   <title>Get EntityGroup Name From Entity Name : The EntityGroup name is probably...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4956#4956</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1375<br /><strong>Posted:</strong> 15-Jul-2009 at 4:35pm<br /><br />The EntityGroup name is probably not what you're after, since that name will be something like "DomainModel:Customer".&nbsp; The "entity set name" is probably what you're looking for.&nbsp; The entity set name is primarily a logical container for entities and is used by the Entity Framework.&nbsp; In DevForce, it's the entity set name which is used for the generated queries on the EntityManager (eg, "Vehicles") and a DefaultEntitySetName attribute also adorns generated entities.&nbsp; There is actually a subtle difference between a default entity set name for an entity type and the actual entity set name an instance of the type belongs to, but in most applications only the default entity set name is ever used.&nbsp; You can get this name through the EntityMetadata - <DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp; aVehicle.GetEntityMetadata().DefaultEntitySetName;</DIV><DIV>or</DIV><DIV>&nbsp; entityManager.MetadataStore.GetEntityMetadata(typeof(Vehicle)).DefaultEntitySetName;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 15 Jul 2009 16:35:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4956#4956</guid>
  </item> 
  <item>
   <title>Get EntityGroup Name From Entity Name : Is there a way to get the EntityGroup...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4954#4954</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=429" rel="nofollow">mbevins1</a><br /><strong>Subject:</strong> 1375<br /><strong>Posted:</strong> 15-Jul-2009 at 11:39am<br /><br /><P>Is there a way to get the EntityGroup Name from the Entity Name?</P><DIV>Entity Name = Vehicle</DIV><DIV>&nbsp;</DIV><DIV>Get Group Name of Vehicles?</DIV><DIV>&nbsp;</DIV><DIV>I would just add S to the end of the name but that may not always be correct.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 15 Jul 2009 11:39:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1375&amp;PID=4954#4954</guid>
  </item> 
 </channel>
</rss>