public void Terminate() { ContextManager.SetRepositoryContext(null, OBJECT_CONTEXT_KEY); }
public IDbSet <T> GetObjectSet <T>() where T : class { return(ContextManager.GetObjectContext(OBJECT_CONTEXT_KEY).Set <T>()); }