Consider the following class written in c# .net 4.0 (typically found in a nhibernate class):
public class CandidateEntity : EntityBase { public virtual I
The backing field is one way. Another is to use a private setter. This works well in nHibernate.
public virtual IList Grades { get; private set; } public CandidateEntity() { Grades = new List(); }