When I have tables in my database that have PK/FK relationships (int) and when they are modeled by the Entity Framework designer everything seems as it should be. I can write the code below and everything seems like it's going to work fine as well but then when I run the code I get an error on the project.Status.StatusName saying the Object reference not set to an instance of an object. I guess I was under the impression that the framework populated the associated entities when you populate the parent entity.
Dim db As New MyDbModel.MyDbEntities()
Dim project As MyDbModel.Project = (From p In db.Project Where p.ProjectID = 1).First
Response.Write(project.ProjectName)
Response.Write(project.Status.StatusName)