Proyecto Fin de Carrera 2011

The SessionManager type exposes the following members.

Methods

  NameDescription
Public methodBeginTransaction
Inicio de la transacción
Public methodCloseSession
Flushes anything left in the session and closes the connection.
Public methodCommitTransaction
Aplica los cambios de la transacción activa
Public methodEquals
Determina si el objeto Object especificado es igual al objeto Object actual.
(Inherited from Object.)
Protected methodFinalize
Permite que un objeto Object intente liberar recursos y realizar otras operaciones de limpieza antes de que el objeto Object sea reclamado por el recolector de elementos no utilizados.
(Inherited from Object.)
Public methodGetHashCode
Actúa como función hash para un tipo concreto.
(Inherited from Object.)
Public methodGetSession
Public methodGetType
Obtiene el objeto Type de la instancia actual.
(Inherited from Object.)
Public methodHasOpenTransaction
Comprueba si existe una transacción activa
Protected methodMemberwiseClone
Crea una copia superficial del objeto Object actual.
(Inherited from Object.)
Public methodRegisterInterceptor
Allows you to register an interceptor on a new session. This may not be called if there is already an open session attached to the HttpContext. If you have an interceptor to be used, modify the HttpModule to call this before calling BeginTransaction().
Public methodRollbackTransaction
Anula los cambios de la transacción activa
Public methodToString
Devuelve una clase String que representa la clase Object actual.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberInstance
This is a thread-safe, lazy singleton. See http://www.yoda.arachsys.com/csharp/singleton.html for more details about its implementation.

See Also