C# Class Infrastructure.Data.EntityFramework.WebObjectContextStorage

Inheritance: IObjectContextStorage
Exibir arquivo Open project: huyrua/efprs

Public Methods

Method Description
GetAllObjectContexts ( ) : IEnumerable
GetObjectContextForKey ( string key ) : ObjectContext
SetObjectContextForKey ( string factoryKey, ObjectContext session ) : void
WebObjectContextStorage ( System.Web.HttpApplication app ) : System

Private Methods

Method Description
GetSimpleObjectContextStorage ( ) : SimpleObjectContextStorage

Method Details

GetAllObjectContexts() public method

public GetAllObjectContexts ( ) : IEnumerable
return IEnumerable

GetObjectContextForKey() public method

public GetObjectContextForKey ( string key ) : ObjectContext
key string
return ObjectContext

SetObjectContextForKey() public method

public SetObjectContextForKey ( string factoryKey, ObjectContext session ) : void
factoryKey string
session ObjectContext
return void

WebObjectContextStorage() public method

public WebObjectContextStorage ( System.Web.HttpApplication app ) : System
app System.Web.HttpApplication
return System