I'm having to downgrade a site from .NET 4 beta 2 to .NET 3.5.
The biggest hurdle is all the foreign key identity values I reference/lookup, as this isn't supported natively in EF 3.5.
Does anyone know of a reasonable work-around for this?
An example of what I mean is:
contacts.Where(contact => contact.TypeGuid == guid)
[TypeGuid] is a FK to [ContactTypes], so I get a [ContactType] object that I can access if I use .Include("ContactType")
, but not the direct ID itself.