<?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 : Generated Code causing Errors</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Generated Code causing Errors</description>
  <pubDate>Wed, 29 Jul 2026 15:08:17 -700</pubDate>
  <lastBuildDate>Tue, 18 Jan 2011 17:29:30 -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=2433</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>Generated Code causing Errors : jipock;Thanks for sharing your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9684#9684</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 18-Jan-2011 at 5:29pm<br /><br /><div>jipock;</div><div><br></div>Thanks for sharing your solution.]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 17:29:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9684#9684</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : Sorry it took so long to get back....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9668#9668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1019" rel="nofollow">jipock</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 16-Jan-2011 at 6:16pm<br /><br />Sorry it took so long to get back. <DIV>&nbsp;</DIV><DIV>The issue here is that ServiceKeyword is an EF object. I don't ever explicitly define it. </DIV><DIV>&nbsp;</DIV><DIV>More Wierdness: </DIV><DIV>* Other Co-workers do NOT have this problem at all, even pulling the same code from TFS. </DIV><DIV>* When I delete my working folder and do a fresh pull (basically making my code identical to my co-workers) I experience the same problems (that my co-workers do not). </DIV><DIV>&nbsp;</DIV><DIV>My Solution: </DIV><DIV>Take my web service and put it in a completely new Project. When DevForce is in the same project as the Web Site and my Web Service is in a different service, this is no longer an issue. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 16 Jan 2011 18:16:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9668#9668</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : Hi jipock;My guess is that the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9643#9643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 13-Jan-2011 at 10:55am<br /><br />Hi jipock;<div><br></div><div>My guess is that the same class, ServiceKeyword, is defined in the Service Reference (for the web service). Try checking the generated Reference.cs file.</div>]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 10:55:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9643#9643</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : here&amp;#039;s an example of &amp;#034;myobject&amp;#034;:...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9637#9637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1019" rel="nofollow">jipock</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 13-Jan-2011 at 6:51am<br /><br />here's an example of "myobject": <DIV>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>///</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas> </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;summary&gt;</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>The auto-generated ServiceKeyword class. </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;/summary&gt;</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DataContract</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(IsReference=</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>true</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>KnownType</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>typeof</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Service</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>))&#093;</P><P>&#091;IbEm.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DataSourceKeyName</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>@"AccessNavigationEDMEntities"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P>&#091;IbEm.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DefaultEntitySetName</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>@"AccessNavigationEDMEntities.ServiceKeywords"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>partial</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceKeyword</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> : IbEm.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Entity</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> {}</P><DIV></DIV><DIV></DIV><DIV><strong>This is all generated by DevForce, I didn't write this part. There is a partial class to it, but it doesn't have anything which should cause problems. </strong></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>partial</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceKeyword</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </P><P>{</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>static</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceKeyword</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Create(</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>EntityManager</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> manager)</P><P>{</P><P></FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceKeyword</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> entity = manager.CreateEntity&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceKeyword</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt;();</P><P>entity.CreatedBy = manager.Principal.Identity.Name;</P><P>entity.CreatedDateTime = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DateTime</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Now;</P><P>entity.Keyword = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>String</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Empty;</P><P>entity.ServiceId = 0;</P><P>entity.ServiceKeywordId = 0;</P><P>entity.LastModifiedBy = manager.Principal.Identity.Name;</P><P>entity.LastModifiedDateTime = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DateTime</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Now;</P><P>entity.EntityAspect.AddToManager();</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> entity;</P><P>}</P><P>}</P><DIV></DIV><strong>Is there anything I can do to troubleshoot further?</strong></FONT></FONT></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 06:51:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9637#9637</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : Hi jipock;It sounds like myobject...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9633#9633</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 12-Jan-2011 at 5:58pm<br /><br />Hi jipock;<div><br></div><div>It sounds like myobject is derived from EntityModel.EntityWrapper and is using the same variable name PropertyChanged. Either change the PropertyChanged variable name or use the new keyword as the warning says. Please see Microsoft website below for more details.</div><div><br></div><div><a href="http://msdn.microsoft.com/en-us/library/3s8070fc%28v=VS.100%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/3s8070fc(v=VS.100).aspx</a></div>]]>
   </description>
   <pubDate>Wed, 12 Jan 2011 17:58:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9633#9633</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : Quick note: the compile-time warnings...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9621#9621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1019" rel="nofollow">jipock</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 11-Jan-2011 at 7:34am<br /><br />Quick note: the compile-time warnings are just that: warnings. But, when I run the application, I get errors with the LoginReply object and can't proceed. ]]>
   </description>
   <pubDate>Tue, 11 Jan 2011 07:34:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9621#9621</guid>
  </item> 
  <item>
   <title>Generated Code causing Errors : Morning, all.   I am experiencing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9620#9620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1019" rel="nofollow">jipock</a><br /><strong>Subject:</strong> 2433<br /><strong>Posted:</strong> 11-Jan-2011 at 7:32am<br /><br /><DIV>Morning, all. </DIV><DIV>&nbsp;</DIV><DIV>I am experiencing an issue when I'm running Ideablade / DevForce for Silverlight. Specifically, I"m getting a compile-time warnings similar to this: &nbsp;"mynamespace.mywebservice.myobject.PropertyChanged' hides inherited member 'IdeaBlade.EntityModel.EntityWrapper.PropertyChanged'. Use the new keyword if hiding was intended."</DIV><DIV>&nbsp;</DIV><DIV>Background of this: I have an application I'm converting over to DevForce for Silverlight. The previous code uses ADO.NET stored proc calls from&nbsp;a webservice. Now, I'm using Entity Framework, being hosted in the same web project. I still need to make WebService calls from the Silverlight project. </DIV><DIV>&nbsp;</DIV><DIV>Fairly recently (within last couple of weeks), when I update the webservice reference in my Silverlight project, it appears that the myobject class's event is hiding the EntityWrapper Property changed event. To my knowledge, I've not done anything crazy in the webservice. This process *was* working fine. </DIV><DIV>&nbsp;</DIV><DIV>Anyone have ideas on either a) what's causing this? b) how to troubleshoot better?</DIV>]]>
   </description>
   <pubDate>Tue, 11 Jan 2011 07:32:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2433&amp;PID=9620#9620</guid>
  </item> 
 </channel>
</rss>