fsprojects / fsprojects/FSharp.Data.SqlClient
Metadata from SqlCommandProvider
Open
@ntr is already working on this.
Since Mar 25, 2016.
feature
- Dominant language
- F#
- Stars
- 206
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Given an instantiated type
type MySqlType = SqlCommandProvider<...>
use cmd = new TestFirstResultSet(conn)
- new method
DescribeFirstResult(params : string option, browseInformationMode : BrowseInformationMode)
BrowseInformationMode.NoInfo 0
BrowseInformationMode.ForBrowse 1
BrowseInformationMode.ForCursor 2
- new method
ShowPlan()returns XML:
SET SHOWPLAN_XML ON;
GO
<sql from type>
-
new property value
TypeName(returns"MySqlType"in this example) -
Might as well cover
sys.sp_describe_undeclared_parameterstoo. (I have no immediate need, but it would cover all the metadata I can think of.)
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.
Assessment
This issue has not been assessed yet.