protected override void OnSaving() { base.OnSaving(); if (ContactRecords != null) { LastContactRecord = ContactRecords.OrderByDescending(r => r.dt_NextDate).FirstOrDefault(); } }
protected override void OnSaving() { base.OnSaving(); if (ContactRecords != null) { LastContactRecord = ContactRecords.OrderByDescending(r => r.dt_NextDate).FirstOrDefault(); } }