AdoDotNetConnectionSupport.CreateParameterFrom(DbParameter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.