sonal malhotra

sonal malhotra

  • NA
  • 410
  • 51.9k

Cannot evaluate the exception stack trace

Oct 13 2020 3:34 AM
hi,
 
System.Data.Entity.ModelConfiguration.ModelValidationException
HResult=0x80131500
Message=One or more validation errors were detected during model generation:
SetupCurriculumTemplateCourse_Course_Source: : Multiplicity is not valid in Role 'SetupCurriculumTemplateCourse_Course_Source' in relationship 'SetupCurriculumTemplateCourse_Course'. Because the Dependent Role properties are not the key properties, the upper bound of the multiplicity of the Dependent Role must be '*'.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
 
it is data annotation error .. please fix

Answers (8)