Possible Duplicate:
ObjectSet.Context vs DbSet
From a DbSet in EF code first, is there a way to refer to the parent DbContext? On the ObjectSet, there is an ObjectContext property. Does something like this exist for the DbSet, or some other means to get the context?