How do I include a [NotMapped] property in an EF business object without getting FirstChance IndexOutofRangeException?
问题 I was wondering why my XAF WinForms EF application was slow loading a detail view. Then I learned how to capture FirstChance Exceptions and discovered I was experiencing an IndexOutOfRange exception as described here Sometimes I want to include a non mapped property in my business object such as Job in example. public class OrderLineResult { public int LineId { get; set; } public int Quantity { get; set; } public string Description { get; set; } [Browsable(false)] public int JobId { get; set;