DapperLib / DapperLib/Dapper

Error: When using the multi-mapping APIs ensure you set the splitOn param if you have keys other than Id\r\nParameter name: splitOn

Open
#181 5 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.