.net - what is the reason for Multiplicity constraint violated. -
.net - what is the reason for Multiplicity constraint violated. -
i having class having list of class b
class { public list<b> pointcollection { get; set; } } although other articles tell class b might containing object of class not case. when fill info , seek save role 'a_pointcollection_source' of relationship 'a_pointcollection' has multiplicity 1 or 0..1. exception thrown. .note not defining relationship rather letting entity framework define on own. so, please suggest possible solutions
actually, issue due saving approach using, had big code saving purpose, methods tempering pointcollection property , violating relationship of pointcollection navigation property, when debugged code, found error approached other way updating pointcollection navigation property.
.net entity-framework orm entity-framework-mapping
Comments
Post a Comment