TargetParameterCountException #1650
-
Could someone assist with providing some insight to TargetParameterCountException? After upgrading to 5.2, all of my Child_Fetch() methods are now failing with TargetParameterCountException. I don't pass any parameters into the child_fetch, I use them to initialize things like address and telephone records that I use in data grids. Here is the error that I'm getting.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I have tried annotating the child method with [FetchChild] but no luck. |
Beta Was this translation helpful? Give feedback.
-
So the issue for me was the use of FetchChild which I replaced with Create. All is good with that. |
Beta Was this translation helpful? Give feedback.
-
Does your parent object have code that calls data portal to do a create or a fetch? What is the parent class code? |
Beta Was this translation helpful? Give feedback.
So the issue for me was the use of FetchChild which I replaced with Create. All is good with that.