Invalid index for this SqlParameterCollection with Count

前端 未结 1 337
感动是毒
感动是毒 2021-01-20 06:21

I need access to the ApplicationID property of the parent class in order to run an Nhibernate query. Running a test for this query in NUnit causes it to fail as such: \"Bu

相关标签:
1条回答
  • 2021-01-20 06:42

    Turns out, this kind of error results from the same property being bound twice, or rather, two properties with the same name were mapped. We removed the parent object (as it was never used) and made the children base classes and made sure the BenefitOptionInfo object was the only thing mapped through BenOpID.

    0 讨论(0)
提交回复
热议问题