In the Creating POCO classes section [Chapter 13] example 13-3 on page 341 throws an exception at the following statements(in the Entities constructor)
_contacts = CreateObjectSet<Contact>();
_address = CreateObjectSet<Address>();
This is the exception I got:
MetadataException was unhandled
Schema specified is not valid. Errors:
The relationship 'PROGRAMMINGEFDB1Model.FK_Address_Contact' was not loaded because the type 'PROGRAMMINGEFDB1Model.Address' is not available.
The following information may be useful in resolving the previous error:
The required property 'addressID' does not exist on the type 'POCOTest.Address'.












