title: What's the best way of using xVal when using the Entity Framework?
body: <p>What's the best way of implementing xVal when using the Entity Framework? I've been using <a href="http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/" rel="nofollow noreferrer">this</a> approach but I'd like to know if there's a better way of doing it.</p>
  
  <p>Also I'd like to know if there's a way of doing it without having to raise an exception.</p>