Επεξεργασία

Κοινή χρήση μέσω


DesignerDataParameter Class

Definition

Represents a parameter for a stored procedure. This class cannot be inherited.

public ref class DesignerDataParameter sealed
public sealed class DesignerDataParameter
type DesignerDataParameter = class
Public NotInheritable Class DesignerDataParameter
Inheritance
DesignerDataParameter

Remarks

The DesignerDataParameter class is one of several types that represent the schema of a data store at design-time. These schema items are made available to controls by designers implementing the IDataEnvironment interface. Controls access schema objects by calling the GetConnectionSchema method of the interface.

The DesignerDataParameter class represents the parameters required to call a stored procedure in the data store. The DesignerDataStoredProcedure.Parameters property contains a collection of DesignerDataParameter objects.

Constructors

DesignerDataParameter(String, DbType, ParameterDirection)

Initializes a new instance of the DesignerDataParameter class with the specified name, data type, and input/output semantics.

Properties

DataType

Gets the database type of the parameter.

Direction

Gets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return-value parameter.

Name

Gets the name of the parameter.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to