Invalid index for this SqlParameterCollection with Count
问题 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: "BusinessObjects.IntegrationTests.CMSEligibilityInfoRepositoryTest.FetchListByApplicationIDTest: System.IndexOutOfRangeException : Invalid index 6 for this SqlParameterCollection with Count=6." This collection of code worked fine before trying to acquire the ApplicationID. The best my research has come up with so far is that it