I am using Entity Framework 5 and I have the following entities:
public class User { public Int32 Id { get; set; } public String Username { get; set; }
This may happen also when there is a mismatch in the type of the referencing property. For example:
public string TipId { get; set; }
instead of
public int TipId { get; set; }