Code First configuration problems have been resolved. I'd forgotten to add getters and setters to the context class. Duh.