<?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 : DevForce approach for validation of non entities.</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : DevForce approach for validation of non entities.</description>
  <pubDate>Sun, 12 Apr 2026 04:41:13 -700</pubDate>
  <lastBuildDate>Thu, 06 Oct 2011 11:55:29 -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=2990</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>DevForce approach for validation of non entities. :   Although not particularly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2990&amp;PID=11763#11763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2990<br /><strong>Posted:</strong> 06-Oct-2011 at 11:55am<br /><br />Although not particularly well-documented, you can use DevForce to validate non-entities.&nbsp; <div>&nbsp;</div><div>With entities you get built-in validation, so with non-entities you have to drive the validation yourself.&nbsp; In your property setter you can call VerifierEngine.ExecuteBeforeSet and/or ExecuteAfterSet for the property in question.&nbsp; To perform instance-level validation you call VerifierEngine.Execute.&nbsp; A VerifierEngine can be created standalone, or you can use your EntityManager's.&nbsp; You can use standard DevForce validation attributes on non-entities, and also create custom verifiers.</div><div>&nbsp;</div><div>Although we don't have a sample, we do make use of non-entity validation in the DevForce Silverlight Business Application template.&nbsp; If you've used that, the VerifiableObject class defined there serves as the base class for non-entity classes requiring verification.&nbsp; The VerifiableObject also implements INotifyPropertyChanged and INotifyDataErrorInfo.&nbsp; You can see this code in action if you create a new solution from this template, or I can upload the class if you're interested.</div><div>&nbsp;</div><div>For the record, our validation documentation is here - <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/validate" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/validate</a></div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 11:55:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2990&amp;PID=11763#11763</guid>
  </item> 
  <item>
   <title>DevForce approach for validation of non entities. :  I would like to know what people...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2990&amp;PID=11759#11759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1287" rel="nofollow">Sleepy Hollow Ranch</a><br /><strong>Subject:</strong> 2990<br /><strong>Posted:</strong> 05-Oct-2011 at 1:42pm<br /><br />I would like to know what people are&nbsp;or should be&nbsp;using for validation of non-entities and what is the devforce way of doing this? I have not found documentation on this subject(<em>I am assuming that there is no documentation at&nbsp;this point... I searched</em>)<div></div>After researching for a bit I thought it best to see if there is a devforce way of doing this. Any help would be greatly appreciated.]]>
   </description>
   <pubDate>Wed, 05 Oct 2011 13:42:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2990&amp;PID=11759#11759</guid>
  </item> 
 </channel>
</rss>