Retrieves a Web Request DbContext if available. If not available will use a thread scoped DbContext instead
public static TDbContext GetWebRequestOrThreadScopedDataContext<TDbContext>(string connectionStringId,
string key);
Parameters
connectionStringId
Optional connection string ID from .config file
key
optional key name of the cached item
See also:
Class DbContextFactory