If you try to build a WCF RIA Application and the Entity Model (EM) doesn’t include foreign key information you will get an error like:
Unable to retrieve association information for association ‘MyModel.MyAssociation’. Only models that include foreign key information are supported. See Entity Framework documentation for details on creating models that include foreign key information.
There are three ways to get around this error.
You can read all of the breaking changes in 4.0 in this document.
Some of this information is also talked about here.