-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
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_parameters
too. (I have no immediate need, but it would cover all the metadata I can think of.)