title: ASP.NET EntityFramwork - Contextual Validation
body: <p>I am very aware of the various ways of validating entity fields relative to themselves and eachother (I use validation attributes).</p>
  
  <p>However, is there a good way of validating a field relative to the context? For instance, if you wanted to have the ModelState validator check to see whether a specified Name field for a newly created Entity is unique amongst all others of that type - is there a standard protocol?</p>
  
  <p>I could just do it in the business logic, but there are multiple places that create a type of object, and it would be nice to standardize.</p>