Namespaces

Types

Type BatcherImpl

Namespace NHibernate.Impl

Interfaces IBatcher

Methods

Properties

Public instance methods

void AbortBatch(Exception e)

Parameters
Exception e

void AddToBatch(IExpectation expectation)

Adds the expected row count into the batch.
If Batching is not supported, then this is when the Command should be executed. If Batching is supported then it should hold of on executing the batch until explicitly told to.
Parameters
IExpectation expectation The number of rows expected to be affected by the query.

void CancelLastQuery()

void CloseCommand(IDbCommand st, IDataReader reader)

Parameters
IDbCommand st
IDataReader reader

void CloseCommands()

void Dispose()

Takes care of freeing the managed and unmanaged resources that this class is responsible for.

bool Equals(object obj)

Parameters
return bool
object obj

void ExecuteBatch()

int ExecuteNonQuery(IDbCommand cmd)

Parameters
return int
IDbCommand cmd

IDataReader ExecuteReader(IDbCommand cmd)

Parameters
return IDataReader
IDbCommand cmd

IDbCommand Generate(CommandType type, SqlString sqlString, SqlType[] parameterTypes)

Parameters
return IDbCommand
CommandType type
SqlString sqlString
SqlType[] parameterTypes

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

IDbCommand PrepareBatchCommand(CommandType type, SqlString sql, SqlType[] parameterTypes)

Parameters
return IDbCommand
CommandType type
SqlString sql
SqlType[] parameterTypes

IDbCommand PrepareCommand(CommandType type, SqlString sql, SqlType[] parameterTypes)

Parameters
return IDbCommand
CommandType type
SqlString sql
SqlType[] parameterTypes

IDbCommand PrepareQueryCommand(CommandType type, SqlString sql, SqlType[] parameterTypes)

Parameters
return IDbCommand
CommandType type
SqlString sql
SqlType[] parameterTypes

string ToString()

Parameters
return string

Public properties

bool HasOpenResources get;

return bool