<?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 : Feature Requests</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Feature Requests</description>
  <pubDate>Sat, 11 Apr 2026 14:22:01 -700</pubDate>
  <lastBuildDate>Wed, 21 Apr 2010 13:32:22 -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=1669</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>Feature Requests : Hi David - Glad you are enjoying...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1669&amp;PID=6593#6593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 1669<br /><strong>Posted:</strong> 21-Apr-2010 at 1:32pm<br /><br />Hi David - Glad you are enjoying the product. Sorry for getting to this so late.<DIV>&nbsp;</DIV><DIV>We've thought hard about this request over the years ... and decided that it is imprudent architecturally.</DIV><DIV>&nbsp;</DIV><DIV>Some entities shouldn't be created at all. Some should only be created only by the parent object. Others need special creation logic.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>We think the developer should make a conscious decision about which entites can be created, how, when, by whom. Frankly I'm not happy that we offer a public Delete method either ... because, again, the developer should make a conscious decision.</DIV><DIV>&nbsp;</DIV><DIV>Reasonable people will disagree about what should and what should not be generated. We drew the line here.</DIV><DIV>&nbsp;</DIV><DIV>THAT SAID, YOU CAN DECIDE OTHERWISE IN DEVFORCE 2010!</DIV><DIV>&nbsp;</DIV><DIV>In DF 2010, you can make your own decisions about what to generate into your entities by customizing the DevForce T4-based code generation behavior. </DIV><DIV>&nbsp;</DIV><DIV>It's pretty easy. If you disagree with us and want Creation logic inscribed in your classes, ... have at it.</DIV><DIV>&nbsp;</DIV><DIV>Happy coding!</DIV>]]>
   </description>
   <pubDate>Wed, 21 Apr 2010 13:32:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1669&amp;PID=6593#6593</guid>
  </item> 
  <item>
   <title>Feature Requests : First I would like to say great...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1669&amp;PID=6284#6284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=672" rel="nofollow">DavidKozikowski</a><br /><strong>Subject:</strong> 1669<br /><strong>Posted:</strong> 03-Mar-2010 at 7:38am<br /><br /><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>First I would like to say great product.</FONT></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>As I work with the tool there are things I would like to see to make our life even simpler.</FONT></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>I’m wondering if IdeaBlade should start a Feature Request Form.</FONT></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>Here is one feature that should be a relatively easy addition that would make our life’s simpler.</FONT></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>In the DevForce EF Object Mapper I would like you to extend the code generator option under the “Create developer classes” to include “Include stub Create Methods”. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>It would generate stub code below. I would say that 99% of the objects will need to “add” and at minimum this is the code required to do it.</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: blue">static</SPAN> <SPAN style="COLOR: #2b91af">Customer</SPAN> Create(<SPAN style="COLOR: #2b91af">EntityManager</SPAN> entityManager) {<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">Customer</SPAN> aCustomer = entityManager.CreateEntity&lt;<SPAN style="COLOR: #2b91af">Customer</SPAN>&gt;();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>aCustomer.EntityAspect.AddToManager();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">return</SPAN> aCustomer;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes">}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt; mso-no-proof: yes; mso-themecolor: text1">If you wanted to take it furher you could add something that would ask for the “other” items you would want in the constructor say Include Key creation, initilaze String to something etc. like from the sample of your sample app.<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt; mso-no-proof: yes; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes">public</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"> <SPAN style="COLOR: blue">partial</SPAN> <SPAN style="COLOR: blue">class</SPAN> <SPAN style="COLOR: #2b91af">Customer</SPAN> {<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: blue">static</SPAN> <SPAN style="COLOR: #2b91af">Customer</SPAN> Create(<SPAN style="COLOR: #2b91af">EntityManager</SPAN> entityManager, <SPAN style="COLOR: blue">string</SPAN> companyName) {<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">Customer</SPAN> aCustomer = entityManager.CreateEntity&lt;<SPAN style="COLOR: #2b91af">Customer</SPAN>&gt;();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: green">// Customer key is a single property, guid-valued<o:p></o:p></SPAN></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #2b91af">DataEntityProperty</SPAN> key = aCustomer.EntityAspect.EntityMetadata.KeyProperties&#091;0&#093;;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>aCustomer.SetRawValue(key, System.<SPAN style="COLOR: #2b91af">Guid</SPAN>.NewGuid());<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>aCustomer.CompanyName = companyName;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>aCustomer.EntityAspect.AddToManager();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">return</SPAN> aCustomer;<o:p></o:p></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>That way every time I wanted to add a new record I would know to call create on it as in.</FONT></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: #2b91af; FONT-SIZE: 10pt; mso-no-proof: yes">Customer</SPAN><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"> newCustomer = <SPAN style="COLOR: #2b91af">Customer</SPAN>.Create(_entityManager);<o:p></o:p></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes">This would be great thanks.</SPAN></P>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 07:38:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1669&amp;PID=6284#6284</guid>
  </item> 
 </channel>
</rss>