‘ObjectContext’ vs ‘DbContext’ in Entity Framework

DbContext is just a wrapper around ObjectContext.

DbContext is just a set of APIs that are easier to use than the APIs exposed by ObjectContext.

Anyway, here you’ll find a very simple Visual Studio template that uses the Repository Pattern and the Entity Framework.

Leave a Comment