iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

DaoSession Members

DaoSession overview

Public Instance Constructors

DaoSession Constructor The DaoManager that manages this Dao instance will be passed in as the parameter to this constructor automatically upon instantiation.

Public Instance Properties

Connection The Connection use by the session.
DataSource The data source use by the session.
IsTransactionStart Indicates if a transaction is open on the session.
Transaction The Transaction use by the session.

Public Instance Methods

BeginTransactionOverloaded. Begins a transaction.
CloseConnection Closes the connection
CommitTransactionOverloaded. Commits the database transaction.
Complete Complete (commit) a transaction
CreateCommand
CreateDataAdapterOverloaded.
CreateDataParameter Create an IDataParameter
Dispose Releasing, or resetting resources.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
OpenConnectionOverloaded. Opens a database connection.
RollBackTransactionOverloaded. Rolls back a transaction from a pending state.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

daoManager

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DaoSession Class | IBatisNet.DataAccess Namespace