AdoDotNetParameter Constructor (DbParameter, Boolean)
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
'Declaration
Public Sub New ( _
parameter As DbParameter, _
isDerived As Boolean _
)
public AdoDotNetParameter(
DbParameter parameter,
bool isDerived
)
public:
AdoDotNetParameter(
DbParameter^ parameter,
bool isDerived
)
new :
parameter:DbParameter *
isDerived:bool -> AdoDotNetParameter
public function AdoDotNetParameter(
parameter : DbParameter,
isDerived : boolean
)
Parameters
- parameter
Type: System.Data.Common.DbParameter
A DbParameter object containing a command parameter.
- isDerived
Type: System.Boolean
Indicates whether the data parameter instance was created as a return value of the DeriveParameters method.
.NET Framework Security
- 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.