DB2Parameter class members
Name | Description |
---|---|
Default | DB2Parameter.Default Field gets a DB2Parameter object with the IsDefault property set to true. |
Unassigned | DB2Parameter.Unassigned Field gets a DB2Parameter object with the IsUnassigned property set to true. |
Name | Description |
---|---|
DB2Parameter() | Initializes a new instance of the DB2Parameter class. |
DB2Parameter(String, Object) | Initializes a new instance of the DB2Parameter class with the parameter name and an object holding a value to be passed as a parameter (for example, another DB2Parameter instance, or instances of IBM.Data.DB2Types structures or classes). |
DB2Parameter(String, DB2Type) | Initializes a new instance of the DB2Parameter class with the parameter name and data type. |
DB2Parameter(String, DB2Type, Integer) | Initializes a new instance of the DB2Parameter class with the parameter name, data type, and width. |
DB2Parameter(String, DB2Type, Integer, String) | Initializes a new instance of the DB2Parameter class with the parameter name, data type, width, and source column name. |
DB2Parameter(String, DB2Type, Integer, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) | Initializes a new instance of the DB2Parameter class with the parameter name, data type, width, source column name, parameter direction, numeric precision, and other properties. |
Property | Description |
---|---|
ArrayLength | Gets or sets the number of elements of the Value property to use for parameter bind-in. |
DB2Type | Gets or sets the DB2Type of the parameter. |
DB2TypeOutput | Determines if the output-only parameter values associated with the DB2Parameter is returned as native DB2 data types (specifically, classes and structures in the IBM.Data.DB2Types namespace). |
DbType | Gets or sets the DbType of the parameter. |
Direction | Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. |
IsDefault | DB2Parameter.IsDefault Property gets or sets a value indicating whether the parameter uses the default value assigned by the data server. |
IsNullable | Gets or sets a value indicating whether the parameter accepts null values. |
IsUnassigned | DB2Parameter.IsUnassigned Property gets or sets a value indicating whether the parameter is treated as an unassigned value by the data server. |
ParameterName | Gets or sets the name of the DB2Parameter. |
Precision | Gets or sets the maximum number of digits used to represent the Value property. |
Scale | Gets or sets the number of decimal places to which Value is resolved. |
Size | Gets or sets the maximum size, in bytes, of the data within the column. |
SourceColumn | Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value . |
SourceColumnNullMapping | Gets or sets a value indicating whether the column is nullable. |
SourceVersion | Gets or sets the DataRowVersion to use when loading Value . |
Value | Gets or sets the value of the parameter. |
Method | Description |
---|---|
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetXmlReader | Returns an XmlReader from a character, binary, or DB2Type.XML column. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
ResetDbType | Overridden. Resets the data type associated with this DB2Parameter instance. |
ToString | Overridden. Gets a string containing the ParameterName . |
Method | Description |
---|---|
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations
before the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |