I have a domain class like this:
public class DomainClass { public virtual string name{get;set;} public virtual IList Notes{get;set;} } >
public class DomainClass { public virtual string name{get;set;} public virtual IList Notes{get;set;} }
You could filter out the items you don't want and create a new list with only the items you do want:
public virtual void RemoveNote(int id) { //remove the note from the list here Notes = Notes.Where(note => note.Id != id).ToList(); }