Design Pattern Framework 3.5
DataContextFactory Class
Patterns-In-Action! Application ► DataObjects.Linq ► DataContextFactory
DataContext factory caches the connectionstring and the
mapping source so that DataContext instances can be created quickly.
This significantly reduces the DataContext creation times.

C# | Visual Basic |
public static class DataContextFactory
Public NotInheritable Class DataContextFactory

All Members | Methods | ||||
|
|
|
Icon | Member | Description |
---|---|---|
![]() ![]() |
CreateContext()()() |
Rapidly creates a new DataContext using cached connectionstring and mapping source.
|

Object | |
![]() |
DataContextFactory |