<?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 : Autogenerated Developer Classes have wrong namespace</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Autogenerated Developer Classes have wrong namespace</description>
  <pubDate>Tue, 21 Apr 2026 05:50:15 -700</pubDate>
  <lastBuildDate>Mon, 10 May 2010 16:51:12 -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=1796</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>Autogenerated Developer Classes have wrong namespace : Yes, you can set the namespace...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1796&amp;PID=6837#6837</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> 1796<br /><strong>Posted:</strong> 10-May-2010 at 4:51pm<br /><br /><P>Yes, you can set the namespace on the generated DevForce Entities by going to the Properties page of the <strong>.tt</strong> file and setting the Custom Tool Namespace to whatever you want.</P><DIV>Double check that you do this on the<strong>&nbsp;.edmx.tt</strong> file as the regular .edmx file is for the raw Entity Framework and won't affect the DevForce code generation.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 10 May 2010 16:51:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1796&amp;PID=6837#6837</guid>
  </item> 
  <item>
   <title>Autogenerated Developer Classes have wrong namespace : I have an edmx where the namespace...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1796&amp;PID=6823#6823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 1796<br /><strong>Posted:</strong> 07-May-2010 at 2:37pm<br /><br />I have an edmx where the namespace is defined as Data.Core, when I set Generate Developer Classes the namespace they belong to is Data.<br><br>I've attempted to extend the DomainModelTemplate to write out the namespace properly but the temporary file that gets generated during the process has the following error: Compiling transformation: The type or namespace name 'Data' could not be found (are you missing a using directive or an assembly reference?)&nbsp;&nbsp;&nbsp; c:\Users\jpinchot.TRADE\AppData\Local\Temp\4q4ezyop.0.cs<br><br>Is there another way to define the namespace that the developer classes get defined in? Or is there anything wrong with the following tt file?<br><br>&lt;#@ template&nbsp; language="C#" debug="true" hostSpecific="true" #&gt;<br>&lt;#@ output extension=".ReadMe" #&gt;<br>&lt;#@ Assembly Name="System.Core.dll" #&gt;<br>&lt;#@ Assembly Name="IdeaBlade.VisualStudio.DTE.dll" #&gt;<br>&lt;#@ Assembly Name="IdeaBlade.VisualStudio.OM.CodeGenerator.dll" #&gt;<br>&lt;#@ Assembly Name="IdeaBlade.EntityModel.Edm.Metadata.dll" #&gt;<br>&lt;#@ import namespace="System" #&gt;<br>&lt;#@ import namespace="System.Reflection" #&gt;<br>&lt;#@ import namespace="IdeaBlade.VisualStudio.DTE" #&gt;<br>&lt;#@ import namespace="IdeaBlade.VisualStudio.OM.CodeGenerator" #&gt;<br>&lt;#@ import namespace="IdeaBlade.EntityModel.Edm.Metadata" #&gt;<br>&lt;#@ import namespace="Data" #&gt;<br>&lt;#<br>&nbsp;&nbsp;&nbsp; // Source for this file located at: C:\Users\jpinchot.TRADE\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\IdeaBlade, Inc\IdeaBlade OM Designer Extension\6.0.1.0\DomainModelTemplate.tt<br>&nbsp;&nbsp;&nbsp; // Core.edmx&nbsp; &lt;--- This is needed so that "Transform Related Text Templates On Save" works correctly.<br>&nbsp;&nbsp;&nbsp; var template = new CoreDomainModelTemplate(this);<br>&nbsp;&nbsp;&nbsp; template.Generate();<br>#&gt;<br>&lt;#+ <br>#&gt;<br>]]>
   </description>
   <pubDate>Fri, 07 May 2010 14:37:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1796&amp;PID=6823#6823</guid>
  </item> 
 </channel>
</rss>