Entity Framework 5 complex type and unknown column in field list error
问题 Bear with me as I'm new to C# and programming in general. I'm trying to define a complex type that is in the same table as the principle class. Basically, it's the good old User and Address example. public class Customer { [Key] public int customerId { get; set; } //some attributes public string street { get; set; } public string city { get; set; } public string province { get; set; } public string country { get; set; } public string postal { get; set; } } So I try to slice off the address