title: How to access navigation property collection in ValidationAttribute?
body: <p>In the <code>IsValid</code> function of a class implementing the <code>ValidationAttribute</code>, I am getting the value of another property by using this code:</p>
  
  <pre><code>Dim AccessToRoomsinfo = validationContext.ObjectType.GetProperty("AccessToRooms")
  Dim AccessToRooms = 
      Convert.ChangeType(
          AccessToRoomsinfo.GetValue(validationContext.ObjectInstance, Nothing), 
          GetType(System.Data.Objects.DataClasses
              .EntityCollection(Of CM_CONTRACTACTIVATIONACCESSTOROOM)))
  </code></pre>
  
  <p>But when I inspect <code>AccessToRooms</code> in the Watch window, the collection is empty.</p>
  
  <p>How can I access this collection?</p>