C# Class NuoDb.Data.Client.NuoDbCommand

Inheritance: System.Data.Common.DbCommand, ICloneable
Mostrar archivo Open project: nuodb/nuodb-dotnet Class Usage Examples

Private Properties

Property Type Description
AppendError string
EnsureStatement void
ExecuteBatch int
ExecuteUpdate int
InvokeStoredProcedure int
NuoDbCommand System
Prepare void
checkConnection void
createResultSet NuoDb.Data.Client.NuoDbDataReader
putParameters void
updateLastCommitInfo void
updateRecordsUpdated void

Public Methods

Method Description
BeginExecuteNonQuery ( ) : IAsyncResult
BeginExecuteNonQuery ( AsyncCallback callback, object objectState ) : IAsyncResult
BeginExecuteReader ( ) : IAsyncResult
BeginExecuteReader ( AsyncCallback callback, object objectState ) : IAsyncResult
BeginExecuteReader ( CommandBehavior behavior ) : IAsyncResult
BeginExecuteReader ( CommandBehavior behavior, AsyncCallback callback, object objectState ) : IAsyncResult
BeginExecuteScalar ( ) : IAsyncResult
BeginExecuteScalar ( AsyncCallback callback, object objectState ) : IAsyncResult
Cancel ( ) : void
Clone ( ) : object
Close ( ) : void
EndExecuteNonQuery ( IAsyncResult asyncResult ) : int
EndExecuteReader ( IAsyncResult asyncResult ) : System.Data.Common.DbDataReader
EndExecuteScalar ( IAsyncResult asyncResult ) : object
ExecuteBatch ( DataRow parameters ) : void
ExecuteBatch ( DataTable parameters ) : void
ExecuteBatch ( DataTable parameters, DataRowState state ) : void
ExecuteBatch ( IDataReader parameters ) : void
ExecuteBatch ( List parameters ) : void
ExecuteNonQuery ( ) : int
ExecuteScalar ( ) : object
NuoDbCommand ( ) : System
NuoDbCommand ( DbConnection conn ) : System
NuoDbCommand ( string query, DbConnection conn ) : System
Prepare ( ) : void

Protected Methods

Method Description
CreateDbParameter ( ) : DbParameter
Dispose ( bool disposing ) : void
ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader

Private Methods

Method Description
AppendError ( string currentMessage, string error, int index ) : string
EnsureStatement ( bool generatingKeys ) : void
ExecuteBatch ( DataFeeder feed, int maxBatchSize = Int32.MaxValue ) : int
ExecuteUpdate ( bool generatingKeys ) : int
InvokeStoredProcedure ( bool generatingKeys ) : int
NuoDbCommand ( Type expectedColumnTypes ) : System
Prepare ( bool generatingKeys ) : void
checkConnection ( ) : void
createResultSet ( EncodedDataStream dataStream, bool readColumnNames ) : NuoDb.Data.Client.NuoDbDataReader
putParameters ( EncodedDataStream dataStream ) : void
updateLastCommitInfo ( EncodedDataStream dataStream, bool generatingKeys ) : void
updateRecordsUpdated ( EncodedDataStream dataStream ) : void

Method Details

BeginExecuteNonQuery() public method

public BeginExecuteNonQuery ( ) : IAsyncResult
return IAsyncResult

BeginExecuteNonQuery() public method

public BeginExecuteNonQuery ( AsyncCallback callback, object objectState ) : IAsyncResult
callback AsyncCallback
objectState object
return IAsyncResult

BeginExecuteReader() public method

public BeginExecuteReader ( ) : IAsyncResult
return IAsyncResult

BeginExecuteReader() public method

public BeginExecuteReader ( AsyncCallback callback, object objectState ) : IAsyncResult
callback AsyncCallback
objectState object
return IAsyncResult

BeginExecuteReader() public method

public BeginExecuteReader ( CommandBehavior behavior ) : IAsyncResult
behavior CommandBehavior
return IAsyncResult

BeginExecuteReader() public method

public BeginExecuteReader ( CommandBehavior behavior, AsyncCallback callback, object objectState ) : IAsyncResult
behavior CommandBehavior
callback AsyncCallback
objectState object
return IAsyncResult

BeginExecuteScalar() public method

public BeginExecuteScalar ( ) : IAsyncResult
return IAsyncResult

BeginExecuteScalar() public method

public BeginExecuteScalar ( AsyncCallback callback, object objectState ) : IAsyncResult
callback AsyncCallback
objectState object
return IAsyncResult

Cancel() public method

public Cancel ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

Close() public method

public Close ( ) : void
return void

CreateDbParameter() protected method

protected CreateDbParameter ( ) : DbParameter
return System.Data.Common.DbParameter

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndExecuteNonQuery() public method

public EndExecuteNonQuery ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

EndExecuteReader() public method

public EndExecuteReader ( IAsyncResult asyncResult ) : System.Data.Common.DbDataReader
asyncResult IAsyncResult
return System.Data.Common.DbDataReader

EndExecuteScalar() public method

public EndExecuteScalar ( IAsyncResult asyncResult ) : object
asyncResult IAsyncResult
return object

ExecuteBatch() public method

public ExecuteBatch ( DataRow parameters ) : void
parameters System.Data.DataRow
return void

ExecuteBatch() public method

public ExecuteBatch ( DataTable parameters ) : void
parameters System.Data.DataTable
return void

ExecuteBatch() public method

public ExecuteBatch ( DataTable parameters, DataRowState state ) : void
parameters System.Data.DataTable
state DataRowState
return void

ExecuteBatch() public method

public ExecuteBatch ( IDataReader parameters ) : void
parameters IDataReader
return void

ExecuteBatch() public method

public ExecuteBatch ( List parameters ) : void
parameters List
return void

ExecuteDbDataReader() protected method

protected ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader
behavior CommandBehavior
return System.Data.Common.DbDataReader

ExecuteNonQuery() public method

public ExecuteNonQuery ( ) : int
return int

ExecuteScalar() public method

public ExecuteScalar ( ) : object
return object

NuoDbCommand() public method

public NuoDbCommand ( ) : System
return System

NuoDbCommand() public method

public NuoDbCommand ( DbConnection conn ) : System
conn System.Data.Common.DbConnection
return System

NuoDbCommand() public method

public NuoDbCommand ( string query, DbConnection conn ) : System
query string
conn System.Data.Common.DbConnection
return System

Prepare() public method

public Prepare ( ) : void
return void