>>>There's nothing stopping you from using Code First with an existing database.
>>>
>
>>
>>A tutorial on doing Code First to an existing database can be found here:
http://msdn.microsoft.com/en-us/data/jj200620>
>Thanks Rob, I'll check that out.
>
>However, I don't think that my problem is that I didn't use Code First (but it may be that in using database First I have mis-configured something),
That is probably the case. Your context (the Uow property based off your code) should have a Database property with the connection information in it. Set a breakpoint in the debugger and confirm that your connection is correct. You may also want to try logging the requests that it is doing:
http://msdn.microsoft.com/en-us/data/dn469464.aspx.