<?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 : EntityServerSaveInterceptor - How</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : EntityServerSaveInterceptor - How</description>
  <pubDate>Sat, 11 Apr 2026 01:22:57 -700</pubDate>
  <lastBuildDate>Sun, 07 Apr 2013 17:19:54 -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=4101</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>EntityServerSaveInterceptor - How :   Worked great, thanks </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16193#16193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1448" rel="nofollow">mrbillo</a><br /><strong>Subject:</strong> 4101<br /><strong>Posted:</strong> 07-Apr-2013 at 5:19pm<br /><br />Worked great, thanks]]>
   </description>
   <pubDate>Sun, 07 Apr 2013 17:19:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16193#16193</guid>
  </item> 
  <item>
   <title>EntityServerSaveInterceptor - How : Hi Bill,  Just put the class as...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16191#16191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 4101<br /><strong>Posted:</strong> 07-Apr-2013 at 12:51pm<br /><br />Hi Bill,<br /><br />Just put the class as you wrote it in your server side project and it will be found automatically by DevForce during it's discovery process and used.  In other words, you don't need to do anything further in order for your ValidateSave code to run.<br /><br />Greg<br /><br /><br />]]>
   </description>
   <pubDate>Sun, 07 Apr 2013 12:51:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16191#16191</guid>
  </item> 
  <item>
   <title>EntityServerSaveInterceptor - How : I need to override the EntityServerSaveInterceptor....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16190#16190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1448" rel="nofollow">mrbillo</a><br /><strong>Subject:</strong> 4101<br /><strong>Posted:</strong> 07-Apr-2013 at 11:29am<br /><br /><p>I need to override the EntityServerSaveInterceptor. I don't understand&nbsp;where to do this. I have three projects:</p><div>Business Logic - Provides data from the Entity Model to the WebService</div><p>EntityModel -&nbsp;contains only entities</p><div>WebService - web service that using the Business Logic project to provide data</div><div>&nbsp;</div><div>When I create the entity manager I set this property&nbsp; this.VerifierEngine.DefaultVerifierOptions.ShouldTreatEmptyStringAsNull = false. This does not work for the server validation so I created the class below to do this.</div><div>Which project do I put this class in and how do I override the server code ?</div><p>&nbsp;public class mnstSaveInterceptor : EntityServerSaveInterceptor&nbsp; <br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected override bool ValidateSave() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.VerifierEngine.DefaultVerifierOptions.ShouldTreatEmptyStringAsNull = false;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return base.ValidateSave();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }</p><div>TIA Bill</div>]]>
   </description>
   <pubDate>Sun, 07 Apr 2013 11:29:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4101&amp;PID=16190#16190</guid>
  </item> 
 </channel>
</rss>