Compartir a través de


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.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

Public Class AdoDotNetParameter _
    Inherits DataParameter

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 deal in terms of the DbType enumeration when referencing parameter types. This is less than ideal, so it is recommended that a provider derive their own class from this one that overrides the various methods and properties to more closely represent their back-end-specific types and restrictions.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataParameter
    Microsoft.VisualStudio.Data.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.AdoDotNet Namespace

DataParameter

DbType