<?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 : Change DisplayName</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Change DisplayName</description>
  <pubDate>Thu, 11 Jun 2026 04:48:19 -700</pubDate>
  <lastBuildDate>Thu, 01 May 2008 09:42:21 -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=784</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>Change DisplayName : It&amp;#039;s certainly a reasonable...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=784&amp;PID=2918#2918</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 784<br /><strong>Posted:</strong> 01-May-2008 at 9:42am<br /><br /><P>It's certainly a reasonable way to go, assuming doing when the Foundation module is loaded is early enough.&nbsp; </P><DIV>Also, I'm not sure I'd put it in the AddServices() method.&nbsp; Better to factor into a different "AdjustColumnDisplayNames()" method.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Thu, 01 May 2008 09:42:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=784&amp;PID=2918#2918</guid>
  </item> 
  <item>
   <title>Change DisplayName : If you want to change the Column...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=784&amp;PID=2871#2871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=219" rel="nofollow">aladdin</a><br /><strong>Subject:</strong> 784<br /><strong>Posted:</strong> 24-Apr-2008 at 12:47pm<br /><br />If you want to change the Column DisplayName (global) from AdaptedPropertyDescriptor for every entity.<br><br><br>public class <font color="#0000ff">FoundationModule : ModuleInit</font> {&nbsp;&nbsp;  <br><br>&nbsp; &nbsp; public override void AddServices() {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Model.<font color="#0000ff">EntityPropertyDescriptors</font>.Customers.CompanyName.SetDisplayName("Company");<br>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; Model.<font color="#0000ff">EntityPropertyDescriptors</font>.Customers.ContactName.SetDisplayName("Contact");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Model.<font color="#0000ff">EntityPropertyDescriptors</font>.Employee...<br><br>This work but is the best way to do it ?<br>Thanks<br>]]>
   </description>
   <pubDate>Thu, 24 Apr 2008 12:47:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=784&amp;PID=2871#2871</guid>
  </item> 
 </channel>
</rss>