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.
Declaration Syntax
C# | Visual Basic |
public static class DataContextFactory
Public NotInheritable Class DataContextFactory
Members
All Members | Methods | ||||
|
|
|
Icon | Member | Description |
---|---|---|
CreateContext()()() |
Rapidly creates a new DataContext using cached connectionstring and mapping source.
|
Inheritance Hierarchy
Object | |
DataContextFactory |