DbContextFactory.GetThreadScopedDbContext<TDbContext>

Creates a Thread Scoped DataContext object that can be reused. The DataContext is stored in Thread local storage.

public static TDbContext GetThreadScopedDbContext<TDbContext>(string connectionStringId)

Parameters

connectionStringId
optional connection string ID from config file


See also:

Class DbContextFactory

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic