This is driving me crazy.
I have a rather large project that I am trying to modify. I noticed earlier that when I typed DbCommand, visual studio did
DbCommand
My problem was that I had a webservice in the project and I changed the build path.
Restoring the default build path solved my issue.