Beispiel #1
0
 public void DeepAcceptChanges(bool bMyPref)
 {
     if (bMyPref)
     {
         LaboratorySectionMyPrefItems.DeepAcceptChanges();
     }
     else
     {
         LaboratorySectionItems.DeepAcceptChanges();
     }
 }
Beispiel #2
0
        public bool IsHasChanges(bool bMyPref)
        {
            if (bMyPref)
            {
                return /*LaboratorySectionMyPrefItems.IsDirty
                       || */(LaboratorySectionMyPrefItems.Count(c => c.IsMarkedToDelete || c.HasChanges) > 0);
            }

            return /*LaboratorySectionItems.IsDirty
                   || */(LaboratorySectionItems.Count(c => c.IsMarkedToDelete || c.HasChanges) > 0);
        }