I\'m using the DbContext class within code that I am creating that is based on the Generic Repositories and Unit of Work design patterns. (I am following the gu
public class MyContext: DbContext
{
public DbSet Blogs { get; set; }
//other dbsets, ctor etc.
public ObjectContext ObjectContext()
{
return (this as IObjectContextAdapter).ObjectContext;
}
}