I have one Solution FooHQ that contains:
FooModel - Code First
FooService - A service that uses the FooModel
FooWebsite - A Website that consumes the FooService and the FooModel
ALL works!
I just created a FooWebsiteAgain
I referenced up the FooService and FooModel and whamoo.....
The model backing the 'FOOContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269)
Funny thing, if i step through in debugger and force it to navigate the UnitOfWork context and browse around....
using (UnitOfWork unitOfWork = new UnitOfWork()) <<Debug here
{
var Customer = unitOfWork.CustomerRepository.GetCustomerByTN(TN);
return Customer;
}
... it wakes up and no error!
Please any ideas?
PS I am using EF 6.0.0