a error when use QueryFirstOrDefault ({"[1544b3e3c8004005] execute sql Error"}) ErrorCode -2147467259 int
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 18.4k
- Forks
- 3.7k
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
I use .net to code,my code likes this : conn.QueryFirstOrDefault (cmd)
I try to use other function that has First , it can not work .
But the function that has single can work .
I look at your code ,the param first or single is used after query from db, they are only a if condition
I can not find the reason
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
No source files, tests, SQL statement, or complete exception context are identified. Start by reproducing QueryFirstOrDefault(cmd) and the comparable First and Single calls with a complete command and database setup, then determine whether the failure occurs during SQL execution or result selection; done means the cause is isolated and covered by a reproducible test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100