Share via


AdoDotNetParameter Class

Represents a data parameter that is derived from a data source command, or that is passed with a command to a data source whose underlying technology is ADO.NET.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Class AdoDotNetParameter _
    Inherits DataParameter
'Usage
Dim instance As AdoDotNetParameter
public class AdoDotNetParameter : DataParameter
public ref class AdoDotNetParameter : public DataParameter
public class AdoDotNetParameter extends DataParameter

Remarks

This class provides a complete managed implementation that will be created by default from the AdoDotNetConnectionSupport class. The base implementation will use the DbType enumeration when referencing parameter types. This is less than ideal, so it is recommended that providers derive their own classes from this one that override the various methods and properties to more closely represent their back end–specific types and restrictions.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataParameter
    Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AdoDotNetParameter Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace