Share via


AdoDotNetParameter Members

Include Protected Members
Include Inherited Members

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.

The AdoDotNetParameter type exposes the following members.

Constructors

 

Name

Description

Public method

AdoDotNetParameter

Overloaded. Initializes a new instance of the AdoDotNetParameter class with a parameter object.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Protected method

GetDirectionCore

Retrieves the parameter direction. (Overrides DataParameter.GetDirectionCore().)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetIsNullableCore

Retrieves a Boolean value indicating whether this parameter can be nulla null reference (Nothing in Visual Basic). (Overrides DataParameter.GetIsNullableCore().)

Protected method

GetIsOptionalCore

Retrieves a Boolean value indicating whether the parameter is optional. (Inherited from DataParameter.)

Protected method

GetNameCore

Retrieves the name of the parameter. (Overrides DataParameter.GetNameCore().)

Protected method

GetSizeCore

Retrieves an integer value specifying the size of the parameter. (Overrides DataParameter.GetSizeCore().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

GetTypeCore

Retrieves the data source–specific type of the parameter. (Overrides DataParameter.GetTypeCore().)

Protected method

GetTypeFrom

Maps the value type to a DbType value and returns the string equivalent. (Overrides DataParameter.GetTypeFrom(Object).)

Protected method

GetValueCore

Retrieves the value of a specified parameter. (Overrides DataParameter.GetValueCore().)

Protected method

IsSupportedDirection

Retrieves a Boolean value indicating whether the specified parameter direction is supported. (Inherited from DataParameter.)

Protected method

IsValidType

Retrieves a Boolean value indicating whether the specified data source–specific type is a valid type. (Overrides DataParameter.IsValidType(String).)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnDirectionChanged

Called when the Direction property is changed to signal a change in the parameter direction. (Inherited from DataParameter.)

Protected method

OnDirectionChanging

Called when the Direction property is about to change. (Inherited from DataParameter.)

Protected method

OnNameChanged

Called when the Name property has changed. (Inherited from DataParameter.)

Protected method

OnNameChanging

Called when the Name property is about to change. (Inherited from DataParameter.)

Protected method

OnSizeChanged

Called when the Size property has changed. (Inherited from DataParameter.)

Protected method

OnSizeChanging

Called when the Size property is about to change. (Inherited from DataParameter.)

Protected method

OnTypeChanged

Called when the Type property has changed. (Inherited from DataParameter.)

Protected method

OnTypeChanging

Called when the Type property is about to change. (Inherited from DataParameter.)

Protected method

OnValueChanged

Called when the Value property has changed. (Inherited from DataParameter.)

Protected method

OnValueChanging

Called when the Value property is about to change. (Inherited from DataParameter.)

Public method

Parse

Gets the DbType and attempts to parse the input string value into the correct type by using primitive type conversions (like Byte.Parse and Int32.Parse). (Overrides DataParameter.Parse(String).)

Protected method

SetDirectionCore

Sets the direction of the parameter by using the DataParameterDirection enumeration. (Overrides DataParameter.SetDirectionCore(DataParameterDirection).)

Protected method

SetNameCore

Sets the name of the parameter. (Overrides DataParameter.SetNameCore(String).)

Protected method

SetSizeCore

Sets an integer value specifying the size of this parameter. (Overrides DataParameter.SetSizeCore(Int32).)

Protected method

SetTypeCore

Attempts to parse the string type into a DbType enumeration value by using Enum.Parse. If this fails, the method assumes DbType.Object as the correct DbType. (Overrides DataParameter.SetTypeCore(String).)

Protected method

SetValueCore

Sets the value of the parameter. (Overrides DataParameter.SetValueCore(Object).)

Public method

ToString

Retrieves a string representation of the value of the current parameter. (Inherited from DataParameter.)

Protected method

TryConvertValue

Attempts to convert the specified value to the specified type. (Inherited from DataParameter.)

Top

Properties

 

Name

Description

Protected property

DefaultSize

Gets an integer value specifying the default size for the current parameter type. (Inherited from DataParameter.)

Public property

Descriptor

Gets information that describes the data parameter. (Inherited from DataParameter.)

Public property

Direction

Gets or sets a DataParameterDirection object specifying the direction of the parameter. (Inherited from DataParameter.)

Protected property

HasDescriptor

Gets a value indicating whether the data parameter exposes its IVsDataParameterDescriptor implementation through the Descriptor property. (Overrides DataParameter.HasDescriptor.)

Public property

IsDerived

Gets a Boolean value that indicates whether the current parameter was derived from the data source. (Inherited from DataParameter.)

Protected property

IsFixedSize

Gets a value indicating whether the size for the current parameter type is fixed. (Overrides DataParameter.IsFixedSize.)

Public property

IsNullable

Gets a Boolean value indicating whether the current parameter can have a null value provided that it is derived. (Inherited from DataParameter.)

Public property

IsOptional

Gets a Boolean value indicating whether the current parameter is optional, provided that it is derived. (Inherited from DataParameter.)

Public property

Name

Gets or sets the string literal name of the current parameter. (Inherited from DataParameter.)

Public property

Parameter

Gets the DbParameter object representing the command parameter.

Public property

Size

Gets or sets an integer value specifying the size of the parameter. (Inherited from DataParameter.)

Public property

Type

Gets or sets the data source–specific type of the parameter. (Inherited from DataParameter.)

Public property

Value

Gets or sets the value of the parameter. (Inherited from DataParameter.)

Top

See Also

Reference

AdoDotNetParameter Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace