Type | Description |
---|---|
DbContextFactory | that creates dbContext instances and scopes them either to a thread or a Web context for efficient reuse. |
EfCodeFirstBusinessBase |
Business object base class that acts as a container for a base entity type and a DbContext instance. Subclasses of this business object should be used to implement most data related logic that deals with creating, updating, removing and querying of data use EF Code First. The business object provides base CRUD methods like Load, NewEntity, Remove. The Save() method uses the EF specific context based SaveChanges which saves all pending changes |
EfCodeFirstContext | Customization of the LINQ to SQL DataContext class that provides core ADO.NET Data Access methods to the data context via a Db property. |
IBusinessObject |
Marker interface for business object and so we have access to DbContext instance. |