Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OdbcParameter Members

Represents a parameter to an OdbcCommand and optionally, its mapping to a DataColumn. This class cannot be inherited.

The following tables list the members exposed by the OdbcParameter type.

  Name Description
Public method OdbcParameter Overloaded. Initializes a new instance of the OdbcParameter class.
Top
  Name Description
Public property DbType Overridden. Gets or sets the DbType of the parameter.
Public property Direction Overridden. Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
Public property IsNullable Overridden. Gets or sets a value that indicates whether the parameter accepts null values.
Public property OdbcType Gets or sets the OdbcType of the parameter.
Public property ParameterName Overridden. Gets or sets the name of the OdbcParameter.
Public property Precision Gets or sets the number of digits used to represent the Value property.
Public property Scale Gets or sets the number of decimal places to which Value is resolved.
Public property Size Overridden. Gets or sets the maximum size of the data within the column.
Public property SourceColumn Overridden. Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
Public property SourceColumnNullMapping Overridden. Sets or gets a value which indicates whether the source column is nullable. This lets DbCommandBuilder correctly generate Update statements for nullable columns.
Public property SourceVersion Overridden. Gets or sets the DataRowVersion to use when you load Value.
Public property Value Overridden. Gets or sets the value of the parameter.
Top
(see also Protected Methods )
  Name Description
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ResetDbType Overridden. Resets the type associated with this OdbcParameter.
Public method ResetOdbcType Resets the type associated with this OdbcParameter.
Public method ToString Overridden. Gets a string that contains the ParameterName.
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top
  Name Description
Explicit interface implementation Method System.ICloneable.Clone For a description of this member, see ICloneable.Clone.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.