Why GetValidationResult disable lazy loading prior to executing the validations?

Why GetValidationResult method of Entity Framework will disable lazy loading prior to executing the validations.

Which are adverse effects of lazy loading during validation?


To not to load entities that were not loaded before validation started. First validation is just for validating and not loading entities. Second, you don't want extra queries being sent to the database when validating. Third (related to second) - extra queries would kill performance of validation - a single query may take longer than the validation itself and there is a risk of sending tons of these. Btw. what is the scenario where you would want lazy loading being enabled during validation?

Need Your Help

jquery not working on my device

javascript jquery html css

i have this jquery code and html it is working on jsfiddle.com(http://jsfiddle.net/9rJev/) and this is the working example but when i get it to notepad++ its not working, and this is my code on not...