C# Класс Informedica.GenForm.Mvc3.Controllers.SessionStateManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

GetConnectionFromSessionState() публичный статический Метод

public static GetConnectionFromSessionState ( System.Web.HttpSessionStateBase session ) : IDbConnection
session System.Web.HttpSessionStateBase
Результат IDbConnection

GetEnvironment() публичный статический Метод

public static GetEnvironment ( System.Web.HttpSessionStateBase session ) : string
session System.Web.HttpSessionStateBase
Результат string

GetSessionFactoryFromSessionState() публичный статический Метод

public static GetSessionFactoryFromSessionState ( System.Web.HttpSessionStateBase session ) : ISessionFactory
session System.Web.HttpSessionStateBase
Результат ISessionFactory

InitializeDatabase() публичный статический Метод

public static InitializeDatabase ( System.Web.HttpSessionStateBase sessionState ) : void
sessionState System.Web.HttpSessionStateBase
Результат void

OpenSession() публичный статический Метод

public static OpenSession ( System.Web.HttpSessionStateBase session ) : ISession
session System.Web.HttpSessionStateBase
Результат ISession

SetEnvironment() публичный статический Метод

public static SetEnvironment ( string environment, System.Web.HttpSessionStateBase sessionState ) : void
environment string
sessionState System.Web.HttpSessionStateBase
Результат void

SetupConfiguration() публичный статический Метод

public static SetupConfiguration ( System.Web.HttpSessionStateBase sessionState ) : void
sessionState System.Web.HttpSessionStateBase
Результат void

SetupInMemoryDatabase() публичный статический Метод

public static SetupInMemoryDatabase ( System.Web.HttpSessionStateBase sessionState, IDbConnection conn ) : void
sessionState System.Web.HttpSessionStateBase
conn IDbConnection
Результат void

UseSessionFactoryFromApplicationOrSessionState() публичный статический Метод

public static UseSessionFactoryFromApplicationOrSessionState ( System.Web.HttpSessionStateBase session ) : void
session System.Web.HttpSessionStateBase
Результат void