<?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 : Verify Navigation Properties</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Verify Navigation Properties</description>
  <pubDate>Mon, 13 Apr 2026 13:46:56 -700</pubDate>
  <lastBuildDate>Thu, 20 Oct 2011 12:34:10 -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=3046</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>Verify Navigation Properties :   Hi CaptainOrgange,You could...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3046&amp;PID=11907#11907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3046<br /><strong>Posted:</strong> 20-Oct-2011 at 12:34pm<br /><br />Hi CaptainOrgange,<div>&nbsp;</div><div>You could execute the verifier engine against the Person as well:</div><div>&nbsp;</div><div>VerifierEngine.Execute(aCar)</div><div>VerifierEngine.Execute(aCar.Person)</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio</div>]]>
   </description>
   <pubDate>Thu, 20 Oct 2011 12:34:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3046&amp;PID=11907#11907</guid>
  </item> 
  <item>
   <title>Verify Navigation Properties :    Hi.I am trying to verify...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3046&amp;PID=11899#11899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1288" rel="nofollow">CaptainOrgange</a><br /><strong>Subject:</strong> 3046<br /><strong>Posted:</strong> 20-Oct-2011 at 4:08am<br /><br />Hi.<div>&nbsp;</div><div>I am trying to verify my properties before calling the Save method. I do this be ensuring the the object belongs to the EntotyManager, then I call the VerifierEngine.Execute() method. This works great for entities having no navigation properties.</div><div>&nbsp;</div><div>As an example. I have a Person model, and a Car model. My Person model can have allot of cars,and a Car can only have one Person,&nbsp;i.e. The Person is a Navigation Property for the Car Model.&nbsp;</div><div>Now I want to have a quick admin screen, where you type the person name,surname and the car make and model. Then the application should save the Car and the Person. This I got working. But now I want to validate before the EntityManager.Save is called, how can I do this. </div><div>&nbsp;</div><div>When I try to validate the Car is validated //** VerifierEngine.Execute(instance of car) **/, but the Person properties is not verified. But when I call EntityManager.SaveChanges, then the Person is validated, i want to do this before the save.</div><div>&nbsp;</div><div>Any ideas welcome</div><div>&nbsp;</div><div><div>&nbsp;</div></div><div><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"><p> </p></font><p>&nbsp;</p></font></div><span style="font-size:10px"><br /><br />Edited by CaptainOrgange - 20-Oct-2011 at 4:12am</span>]]>
   </description>
   <pubDate>Thu, 20 Oct 2011 04:08:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3046&amp;PID=11899#11899</guid>
  </item> 
 </channel>
</rss>