Freigeben über


AdoDotNetConnectionSupport.CreateParameterFrom(DbParameter) Method

Definition

Creates a new data parameter with interface IVsDataProvider, using a copy of the specified data parameter.

protected:
 virtual Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^ CreateParameterFrom(System::Data::Common::DbParameter ^ parameter);
protected virtual Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter CreateParameterFrom (System.Data.Common.DbParameter parameter);
abstract member CreateParameterFrom : System.Data.Common.DbParameter -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter
override this.CreateParameterFrom : System.Data.Common.DbParameter -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter
Protected Overridable Function CreateParameterFrom (parameter As DbParameter) As IVsDataParameter

Parameters

parameter
DbParameter

A DbParameter data parameter from which to create the new parameter.

Returns

An IVsDataProvider object instance.

Applies to