Friday 22 September 2017

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.

This issue is related to EntityFramework.

This issue arises when we have some required Field in some tables and we didn't provided any values to it or else we are passing null in it and calling saveChanges().

To resolve this error either we need to pass required Field values or we need to remove that required Field.

In the below image i showed one example of Same error and if i pass that required field then everything will work fine.



0 comments:

Post a Comment