System.Data 2.0.0.0 System.MarshalByRefObject System.Data.IDbDataParameter To be added.

Represents a parameter to a and optionally, its mapping to a column. For more information on parameters, see Configuring Parameters and Parameter Data Types (ADO.NET).

- Constructor
  To be added.

  Initializes a new instance of the class.

  2.0.0.0
- Property
  System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Data.DbType To be added. To be added.

  Gets or sets the of the parameter.

  2.0.0.0
- Property
  System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
  System.ComponentModel.DefaultValue(System.Data.ParameterDirection.Input)
  System.Data.ParameterDirection To be added.

  If the is output, and execution of the associated does not return a value, the contains a null value.

  Output, InputOut, and ReturnValue parameters returned by calling cannot be accessed until you call or on the .

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

  2.0.0.0
- Property
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
  System.ComponentModel.DesignOnly(true)
  System.ComponentModel.Browsable(false)
  System.Boolean To be added.

  Null values are handled using the class.

  Gets or sets a value that indicates whether the parameter accepts null values.

  2.0.0.0
- Property
  System.ComponentModel.DefaultValue("")
  System.String To be added. To be added.

  Gets or sets the name of the .

  2.0.0.0
- Method
  System.Void To be added.

  Resets the DbType property to its original settings.

  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  System.Int32 To be added.

  The property is used for binary and string types.

  For nonstring data types and ANSI string data, the property refers to the number of bytes. For Unicode string data, refers to the number of characters. The count for strings does not include the terminating character.

  For variable-length data types, describes the maximum amount of data to transmit to the server. For example, for a Unicode string value, could be used to limit the amount of data sent to the server to the first one hundred characters.

  For bidirectional and output parameters, and return values, you must set the value of . This is not required for input parameters, and if not explicitly set, the value is inferred from the actual size of the specified parameter when a parameterized statement is executed.

  The and properties of a parameter can be inferred by setting . Therefore, you are not required to specify them. However, they are not exposed in property settings. For example, if the size of the parameter has been inferred, does not contain inferred value after statement execution.

  For fixed length data types, the value of is ignored. It can be retrieved for informational purposes, and returns the maximum amount of bytes the provider uses when transmitting the value of the parameter to the server.

  If the size of the value supplied for a exceeds the specified , the of the will contain the specified value, truncated to the Size of the .

  For parameters of type DbType.String, the value of is length in Unicode characters. For parameters of type DbType.Xml, is ignored.

  Gets or sets the maximum size, in bytes, of the data within the column.

  2.0.0.0
- Property
  System.ComponentModel.DefaultValue("")
  System.String To be added.

  When is set to anything other than an empty string, the value of the parameter is retrieved from the column with the name. If is set to Input, the value is taken from the . If is set to Output, the value is taken from the data source. A of InputOutput is a combination of both.

  For more information about how to use the property, see Using Parameters with a DataAdapter and Updating the Database with a DataAdapter and the DataSet.

  Gets or sets the name of the source column mapped to the and used for loading or returning the .

  2.0.0.0
- Property
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.ComponentModel.DefaultValue(false)
  System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
  System.Boolean To be added.

  is used by the to correctly generate update commands when dealing with nullable columns. Generally, use of is limited to developers inheriting from .

  uses this property to determine whether the source column is nullable, and sets this property to true if it is nullable, and false if it is not. When is generating its Update statement, it examines the for each parameter. If the property is true, generates a WHERE clauses like the following (in this query expression, "FieldName" represents the name of the field):

  `((@IsNull_FieldName = 1 AND FieldName IS NULL) OR (FieldName = @Original_FieldName))`

  If for the field is false, generates the following WHERE clause:

  `FieldName = @OriginalFieldName`

  In addition, @IsNull_FieldName contains 1 if the source field contains null, and 0 if it does not. This mechanism allows for a performance optimization in SQL Server, and provides for common code that works across multiple providers.

  Sets or gets a value which indicates whether the source column is nullable. This allows to correctly generate Update statements for nullable columns.

  2.0.0.0
- Property
  System.ComponentModel.DefaultValue(System.Data.DataRowVersion.Current)
  System.Data.DataRowVersion To be added.

  Used by during an operation to determine whether the parameter value is set to Current or Original. This lets primary keys be updated. This property is set to the version of the used by the DataRow.Item property, or the method of the object.

  Gets or sets the to use when you load .

  2.0.0.0
- Property
  2.0.0.0
  System.Byte To be added.

  This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.

  For more information, see .

  Indicates the precision of numeric parameters.

- Property
  2.0.0.0
  System.Byte To be added.

  This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.

  For more information, see .

  For a description of this member, see .

- Property
  System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
  System.ComponentModel.DefaultValue(null)
  System.Object To be added.

  For input parameters, the value is bound to the that is sent to the server. For output and return value parameters, the value is set on completion of the and after the is closed.

  When you send a null parameter value to the server, you must specify , not null. The null value in the system is an empty object that has no value. is used to represent null values.

  If the application specifies the database type, the bound value is converted to that type when the provider sends the data to the server. The provider tries to convert any type of value if it supports the interface. Conversion errors may result if the specified type is not compatible with the value.

  The property can be inferred by setting the Value.

  The property is overwritten by DbDataAdapter.Update.

  Gets or sets the value of the parameter.

  2.0.0.0