C# Class Informedica.GenForm.Mvc3.Controllers.SessionStateManager

Afficher le fichier Open project: halcwb/GenForm Class Usage Examples

Méthodes publiques

Méthode Description
GetConnectionFromSessionState ( System.Web.HttpSessionStateBase session ) : IDbConnection
GetEnvironment ( System.Web.HttpSessionStateBase session ) : string
GetSessionFactoryFromSessionState ( System.Web.HttpSessionStateBase session ) : ISessionFactory
InitializeDatabase ( System.Web.HttpSessionStateBase sessionState ) : void
OpenSession ( System.Web.HttpSessionStateBase session ) : ISession
SetEnvironment ( string environment, System.Web.HttpSessionStateBase sessionState ) : void
SetupConfiguration ( System.Web.HttpSessionStateBase sessionState ) : void
SetupInMemoryDatabase ( System.Web.HttpSessionStateBase sessionState, IDbConnection conn ) : void
UseSessionFactoryFromApplicationOrSessionState ( System.Web.HttpSessionStateBase session ) : void

Method Details

GetConnectionFromSessionState() public static méthode

public static GetConnectionFromSessionState ( System.Web.HttpSessionStateBase session ) : IDbConnection
session System.Web.HttpSessionStateBase
Résultat IDbConnection

GetEnvironment() public static méthode

public static GetEnvironment ( System.Web.HttpSessionStateBase session ) : string
session System.Web.HttpSessionStateBase
Résultat string

GetSessionFactoryFromSessionState() public static méthode

public static GetSessionFactoryFromSessionState ( System.Web.HttpSessionStateBase session ) : ISessionFactory
session System.Web.HttpSessionStateBase
Résultat ISessionFactory

InitializeDatabase() public static méthode

public static InitializeDatabase ( System.Web.HttpSessionStateBase sessionState ) : void
sessionState System.Web.HttpSessionStateBase
Résultat void

OpenSession() public static méthode

public static OpenSession ( System.Web.HttpSessionStateBase session ) : ISession
session System.Web.HttpSessionStateBase
Résultat ISession

SetEnvironment() public static méthode

public static SetEnvironment ( string environment, System.Web.HttpSessionStateBase sessionState ) : void
environment string
sessionState System.Web.HttpSessionStateBase
Résultat void

SetupConfiguration() public static méthode

public static SetupConfiguration ( System.Web.HttpSessionStateBase sessionState ) : void
sessionState System.Web.HttpSessionStateBase
Résultat void

SetupInMemoryDatabase() public static méthode

public static SetupInMemoryDatabase ( System.Web.HttpSessionStateBase sessionState, IDbConnection conn ) : void
sessionState System.Web.HttpSessionStateBase
conn IDbConnection
Résultat void

UseSessionFactoryFromApplicationOrSessionState() public static méthode

public static UseSessionFactoryFromApplicationOrSessionState ( System.Web.HttpSessionStateBase session ) : void
session System.Web.HttpSessionStateBase
Résultat void