I am using this Entity class with Entity Framework 5 Code First:
public class Survey { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public i
You need to define all the properties on the Survey class as virtual to enable lazy-loading.
Survey
See http://msdn.microsoft.com/en-us/library/vstudio/dd468057(v=vs.100).aspx for more information.