C# Class System.Data.OleDb.OleDbCommand

Inheritance: System.Data.Common.DbCommand, ICloneable, IDbCommand
显示文件 Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
NextRefCursor bool
OleDbCommand System

Public Methods

Method Description
Clone ( ) : object
CreateParameter ( ) : OleDbParameter
ExecuteReader ( ) : OleDbDataReader
ExecuteReader ( CommandBehavior behavior ) : OleDbDataReader
OleDbCommand ( OleDbConnection connection ) : System
OleDbCommand ( String cmdText ) : System
OleDbCommand ( String cmdText, OleDbConnection connection ) : System
OleDbCommand ( String cmdText, OleDbConnection connection, OleDbTransaction transaction ) : System

Protected Methods

Method Description
BindOutputParameter ( System.Data.ProviderBase.AbstractDbParameter parameter, int parameterIndex ) : void
CheckParameters ( ) : void
CreateException ( SQLException e ) : SystemException
CreateParameterCollection ( AbstractDbCommand parent ) : DbParameterCollection
CreateParameterInternal ( ) : DbParameter
CreateReader ( ) : DbDataReader
NextResultSet ( ) : bool
PrepareInternalParameters ( ) : void
SkipParameter ( DbParameter parameter ) : bool

Private Methods

Method Description
NextRefCursor ( ) : bool
OleDbCommand ( ) : System

Method Details

BindOutputParameter() protected method

protected BindOutputParameter ( System.Data.ProviderBase.AbstractDbParameter parameter, int parameterIndex ) : void
parameter System.Data.ProviderBase.AbstractDbParameter
parameterIndex int
return void

CheckParameters() protected final method

protected final CheckParameters ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

CreateException() protected final method

protected final CreateException ( SQLException e ) : SystemException
e SQLException
return System.SystemException

CreateParameter() public method

public CreateParameter ( ) : OleDbParameter
return OleDbParameter

CreateParameterCollection() protected final method

protected final CreateParameterCollection ( AbstractDbCommand parent ) : DbParameterCollection
parent AbstractDbCommand
return DbParameterCollection

CreateParameterInternal() protected final method

protected final CreateParameterInternal ( ) : DbParameter
return DbParameter

CreateReader() protected final method

protected final CreateReader ( ) : DbDataReader
return DbDataReader

ExecuteReader() public method

public ExecuteReader ( ) : OleDbDataReader
return OleDbDataReader

ExecuteReader() public method

public ExecuteReader ( CommandBehavior behavior ) : OleDbDataReader
behavior CommandBehavior
return OleDbDataReader

NextResultSet() protected method

protected NextResultSet ( ) : bool
return bool

OleDbCommand() public method

public OleDbCommand ( OleDbConnection connection ) : System
connection OleDbConnection
return System

OleDbCommand() public method

public OleDbCommand ( String cmdText ) : System
cmdText String
return System

OleDbCommand() public method

public OleDbCommand ( String cmdText, OleDbConnection connection ) : System
cmdText String
connection OleDbConnection
return System

OleDbCommand() public method

public OleDbCommand ( String cmdText, OleDbConnection connection, OleDbTransaction transaction ) : System
cmdText String
connection OleDbConnection
transaction OleDbTransaction
return System

PrepareInternalParameters() protected method

protected PrepareInternalParameters ( ) : void
return void

SkipParameter() protected method

protected SkipParameter ( DbParameter parameter ) : bool
parameter DbParameter
return bool