Error: When using the multi-mapping APIs ensure you set the splitOn param if you have keys other than Id\r\nParameter name: splitOn
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 18.4k
- Forks
- 3.7k
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
I am using Dapper. We are not trying to use any of the MultiMapping features . I am trying to figure out why this one proc would return that error? What should I check? What should I look for?
Error: When using the multi-mapping APIs ensure you set the splitOn param if you have keys other than Id
Parameter name: splitOn
Code:
SELECT * FROM [User] WHERE ID=96569
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported SELECT * FROM [User] WHERE ID=96569 query and the multi-mapping APIs' splitOn error. Trace why this procedure reaches that error despite the report not using multi-mapping, then document the specific cause and the checks or correction that resolve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100