Initializes a new instance of the AdoDotNetParameter class with a parameter object and an indication of whether the parameter is derived using the DeriveParameters method.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub New ( _
parameter As DbParameter, _
isDerived As Boolean _
)
'使用
Dim parameter As DbParameter
Dim isDerived As Boolean
Dim instance As New AdoDotNetParameter(parameter, _
isDerived)
public AdoDotNetParameter(
DbParameter parameter,
bool isDerived
)
public:
AdoDotNetParameter(
DbParameter^ parameter,
bool isDerived
)
public function AdoDotNetParameter(
parameter : DbParameter,
isDerived : boolean
)
Parameters
parameter
Type: System.Data.Common.DbParameterA DbParameter object containing a command parameter.
isDerived
Type: System.BooleanIndicates whether the data parameter instance was created as a return value of the DeriveParameters method.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.