fsprojects / fsprojects/FSharp.Data.SqlClient
Question: For what reason would a SPROC not have an available constructor?
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 206
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use the SqlProgrammabilityProvider to execute stored procedures. I've set up some basic crud operations for a DataType on my project:
- Select (int -> Option<DataType>)
- SelectAll (unit -> Seq<DataType>)
- Insert (DataType -> int)
- Update (DataType -> bool)
- Delete (int -> bool)
Curiously though, only the Select/SelectAll can be called. The Insert, Update, and Delete commands say there is no available constructor.
I can execute the stored procedures directly in the database and have confirmed that my user that I am connecting with has permission to execute the stored procedures. Can anyone offer another explanation for why I cannot use them?
Thanks
Contributor guide
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
Begin at the SqlProgrammabilityProvider entry point and reproduce the Insert, Update, and Delete cases against the stated stored procedures, comparing them with Select and SelectAll. Done means identifying why constructors are unavailable and documenting or testing the behavior; the issue names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100