<?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 : New to IdeaBlade Question</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : New to IdeaBlade Question</description>
  <pubDate>Sun, 12 Apr 2026 23:42:43 -700</pubDate>
  <lastBuildDate>Fri, 20 Jul 2007 04:04:05 -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=317</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>New to IdeaBlade Question : Hi pkarsh  Thanks! This helps...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=736#736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=85" rel="nofollow">bsimmons</a><br /><strong>Subject:</strong> 317<br /><strong>Posted:</strong> 20-Jul-2007 at 4:04am<br /><br />Hi pkarsh<DIV>&nbsp;</DIV><DIV>Thanks! This helps a lot and by the way the relationship between "Contact" and "Member" and "Contact" and&nbsp; "Visitor" is 1 - 1. That is the Database was designed. Also, I noticed that the Object Mapper created all of the relations as 1 to Many which is as I would expect.</DIV><DIV>&nbsp;</DIV><DIV>Again thanks for your help.</DIV><DIV>Bernard</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 04:04:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=736#736</guid>
  </item> 
  <item>
   <title>New to IdeaBlade Question : Hi Bernard  You may have other...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=735#735</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=43" rel="nofollow">pkarsh</a><br /><strong>Subject:</strong> 317<br /><strong>Posted:</strong> 19-Jul-2007 at 6:08pm<br /><br />Hi Bernard<br /><br />You may have other reasons for making Member and Visitors classes derive from your Contact class, but from the perspective of making the properties in the Contact class visible to these "child" classes it is not necessary to make them derive from Contact.  All you need to do is define the relations between these classes in the Object Mapper.  To do this, click on the "View Relations" button in the Object Mapper toolbar.  This is the button immediately to the left of the ".NET language" drop down and admittedly it could be better labelled.  This will bring up the "Relations" window.  Click on the "Add" button to enable the Parent and Child drop down lists.  In your case, you will want to specify "Contact" as the parent and "Member" as the child.  Select the "PrimaryKey" property from "Contact" and FK_Contact" from "Member".  This will cause a join to be defined in the rightmost list box.  It is not clear to me whether the relationship between "Contact" and "Member" is 1 -1 or 1 - many, that is, whether or not there are many "Members" for each "Contact" or only one.  In any case, select the correct Cardinality for this relationship.  Click on the "Add" button again and repeat to define the relationship between the "Contact" and the "Visitors" classes. When you are done defining these relations, click "Save" .<br /><br />Let us say that you now have an instance of a Member object that we will call "aMember".  You can access the values of the Contact class by writing code such as "aMember.Contact.EmailAddress", for example, to access the EmailAddress property of the Contact object that is a parent of the aMember instance.<br /><br />You define which object instances are parents of a particular child object instance by setting the values to that of the contact object.  Let us say that you have a Contact instance called aContact and a Member instance called aMember.  You would define aContact as the parent of aMember by simply coding "aMember.Contact = aContact"<br /><br />Hope this helps.<br /> ]]>
   </description>
   <pubDate>Thu, 19 Jul 2007 18:08:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=735#735</guid>
  </item> 
  <item>
   <title>New to IdeaBlade Question : Hi; I walked thru the tutorials...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=732#732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=85" rel="nofollow">bsimmons</a><br /><strong>Subject:</strong> 317<br /><strong>Posted:</strong> 19-Jul-2007 at 2:22pm<br /><br /><DIV>Hi;</DIV><DIV>I walked thru the tutorials and started into the other docs and IdeaBlade seems to be a outstanding product. I have not yet seen anything which quite matches my environment so I have attempted to describe it below to see if and how IdeaBlade handles it. I hope that I have not over simplifed my table&nbsp;and class defs.</DIV><DIV>&nbsp;</DIV><DIV>I have the following tables in my database</DIV><P>Table:Contact<BR>&nbsp;Columns:<BR>&nbsp;PrimaryKey<BR>&nbsp;EmailAddress<BR>&nbsp;Name<BR>&nbsp;PrimaryAddress<BR>&nbsp;...</P><P>Table:Member<BR>Columns:<BR>&nbsp;PrimaryKey<BR>&nbsp;FK_Contact<BR>&nbsp;First_Name<BR>&nbsp;Middle_Name<BR>&nbsp;Last_Name<BR>&nbsp;Membership_Type<BR>&nbsp;....</P><P>Table:Visitors<BR>Columns<BR>&nbsp;PrimaryKey<BR>&nbsp;FK_Contact<BR>&nbsp;Dateof1stVisit<BR>&nbsp;CallBackDesired</P><P>My object module look as follows where the Member and Visitor Classes derived from the Contact class matching the tables Definations from above:</P><P>&nbsp;&nbsp;&nbsp; public class Contact <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;public Guid PrimayKey;<BR>&nbsp;public string EmailAddress;<BR>&nbsp;public string Name;<BR>&nbsp;pubic string PrimaryAddress;<BR>&nbsp;....<BR>&nbsp;&nbsp;&nbsp; }</P><P>&nbsp;&nbsp;&nbsp; public class Member : Contact <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;public Guid PrimayKey;<BR>&nbsp;public Guid FK_Contact;<BR>&nbsp;public string First_Name;<BR>&nbsp;public string Middle_Name;<BR>&nbsp;pubic string Last_Name;<BR>&nbsp;pubic string Membership_Type;<BR>&nbsp;....<BR>&nbsp;&nbsp;&nbsp; }</P><P>&nbsp;&nbsp;&nbsp; public class Visitors : Contact <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;public Guid PrimayKey;<BR>&nbsp;public Guid FK_Contact;<BR>&nbsp;public string Dateof1stVisit;<BR>&nbsp;public string CallBackDesired;<BR>&nbsp;....<BR>&nbsp;&nbsp;&nbsp; }</P><P>Does IdeaBlade support this model?<BR>What Do I need to do to ensure that all of the properties from the Contact Class appear in the Member and Visitor Classes?</P><DIV>I hope this is the correct forum for this question.</DIV><DIV>Thanks</DIV><DIV>Bernard.</DIV>]]>
   </description>
   <pubDate>Thu, 19 Jul 2007 14:22:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=317&amp;PID=732#732</guid>
  </item> 
 </channel>
</rss>