<?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 : Several problems when creating mapping</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Several problems when creating mapping</description>
  <pubDate>Wed, 10 Jun 2026 11:28:56 -700</pubDate>
  <lastBuildDate>Fri, 05 Mar 2010 07:57:08 -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=1671</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>Several problems when creating mapping : We aren&amp;#039;t using Date or Time...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6304#6304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=711" rel="nofollow">MattGreer</a><br /><strong>Subject:</strong> 1671<br /><strong>Posted:</strong> 05-Mar-2010 at 7:57am<br /><br />We aren't using Date or Time anywhere (although occassionally we use datetime). However none of the temporal data types are involved in this particular situation.<br /><br />I have found that removing the PropertyClassId FK allows the object mapper to do its entire thing without any issues (no null ref exception and all that). However that also means I still dont get my PropertyClass relation.<br /><br />Other tables in our db have a PropertyClass FK as well. Could it be somewhere a clash is happening? This seems like it might be a DevForce bug?<br /><br />Thanks.]]>
   </description>
   <pubDate>Fri, 05 Mar 2010 07:57:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6304#6304</guid>
  </item> 
  <item>
   <title>Several problems when creating mapping : The only problem that I know about...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6296#6296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 1671<br /><strong>Posted:</strong> 04-Mar-2010 at 4:12pm<br /><br /><P>The only problem that I know about that we have heard from our customers concerning use of SQL Server 2008 is with the new Date and Time datataypes.&nbsp; These datatypes are not supported in Classic.</P>]]>
   </description>
   <pubDate>Thu, 04 Mar 2010 16:12:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6296#6296</guid>
  </item> 
  <item>
   <title>Several problems when creating mapping : my company is using what I believe...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6295#6295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=711" rel="nofollow">MattGreer</a><br /><strong>Subject:</strong> 1671<br /><strong>Posted:</strong> 04-Mar-2010 at 2:56pm<br /><br />my company is using what I believe is DevForce classic (our IdeaBlade.Persistence.dll assembly is version 3.6.4.1)<br /><br />I have created many mappings using the IdeaBlade Object Mapper in Visual Studio 2008 SP1 with no problem. But suddenly DevForce just does not like a new table I made. We are using SQL Server 2008.<br /><br />Here is what I have done:<br />created a table called RollbackFactor, with columns:<br />-- Id, PK, uniqueidentifier, not null<br />-- RecordVersion, int, not null<br />-- ParcelTypeId, FK, uniqueidentifier, not null<br />-- PropertyClassId, FK, uniqueidentifier, not null<br />-- a few data columns of type numeric(3,0) null<br /><br />the two foreign keys are to tables that are also being mapped by DevForce. These foreign keys are defined in SQL Server.<br /><br />For our mappings, we have one base class called BaseEntity. A BaseEntity must have Id and RecordVersion.<br /><br /><br />This is what happens when I try to map this using the object mapper:<br />-- I click "Add Classes"<br />-- Locate RollbackFactor, select it, close the add classes form<br />-- RollbackFactor is not listed in the Classes grid, I must check "Show all classes" to see it (this is different from all previous mappings)<br />-- I look at RollbackFactor's details, set its base class to BaseEntity, and I get a validation error (an ErrorProvider exclamation point appears) that indicates a null ref exception, this has never happened before.<br />-- Over in Relation Properties, only one of the relations (ParcelTypeId) is created. It never wants to make the PropertyClassId relation<br />-- If I double click to add the relation manually, Visual Studio crashes upon saving the PropertyClassId relation.<br /><br />I have poured over this table numerous times, compared it to all our other tables, and had two other developers verify it all appears OK to them. I have also dropped the table and recreated it, to no avail. <br /><br />What am I doing wrong? <br /><br />Thanks.<br /><br />]]>
   </description>
   <pubDate>Thu, 04 Mar 2010 14:56:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1671&amp;PID=6295#6295</guid>
  </item> 
 </channel>
</rss>