protected override void EndVisit(IGroupListRoles cn)
        {
            var p = (GroupListRoles)cn;

            foreach (var t in p.ListRoles)
            {
                t.IsMarkedForDeletion = false;
                t.IsNew = false;
            }
        }
Beispiel #2
0
        protected override void EndVisit(IGroupListRoles cn)
        {
            var p = (GroupListRoles)cn;

            if (p.IsHasMarkedForDeletion && p.IsHasNew)
            {
                var lst = p.ListRoles.ToList();
                foreach (var t in lst)
                {
                    if (t.IsMarkedForDeletion && t.IsNew)
                    {
                        p.ListRoles.Remove(t);
                    }
                }
            }
        }
Beispiel #3
0
 protected virtual void EndVisit(IGroupListRoles cn)
 {
 }
Beispiel #4
0
 protected virtual void BeginVisit(IGroupListRoles cn)
 {
 }