April 2003
Beginner to intermediate
620 pages
21h 48m
English
OleDbParameter
This class represents a parameter for a stored procedure or
parameterized query. For information about the basic
OleDbParameter members, refer to the reference for
the System.Data.IDbDataParameter and
System.Data.IDataParameter interfaces, which
OleDbParameter implements.
In addition, the OleDbParameter class adds a new
property: OleDbType. This property sets the OLE
DB data type of a parameter. You should always set this value
(explicitly, or through one of the constructors) rather than the more
general DbType. When you set
OleDbType, DbType is updated
automatically with the most compatible
System.Data.DbType value.
public sealed class OleDbParameter : MarshalByRefObject, System.Data.IDbDataParameter, System.Data.IDataParameter, ICloneable { // Public Constructors public OleDbParameter( ); public OleDbParameter(stringname, objectvalue); public OleDbParameter(stringname, OleDbTypedataType); public OleDbParameter(stringname, OleDbTypedataType, intsize); public OleDbParameter(stringparameterName, OleDbTypedbType, intsize, System.Data.ParameterDirectiondirection, boolisNullable, byteprecision, bytescale, stringsrcColumn, System.Data.DataRowVersionsrcVersion, objectvalue); public OleDbParameter(stringname, OleDbTypedataType, intsize, stringsrcColumn); // Public Instance Properties public DbType DbType{set; get; } // implements System.Data.IDataParameter public ParameterDirection Direction{set; get; } // implements System.Data.IDataParameter ...
Read now
Unlock full access