i had the same problem.I had to rewrite "DBContext" after adding reference to entityframework and it resolved the problem.
its means that Visual studio was not able to recognize the class automatically and waited for it to be re-typed.
so its best to add reference first and then implement code.
VS 2013 - ultimate used