public void ReleaseRelation(Grp grp, Mbr mbr)
        {
            ThisModule.OleDB.ExecuteNonQuery("delete from TRln"
                                             + " where FKind = '" + MbrDtAccess.Kind + "'"
                                             + " and FGrpId = " + grp.Id
                                             + " and FMbrId = " + mbr.Id);

            IList <Grp> Grps;

            Groups.TryGetValue(mbr.Id, out Grps);
            Grps.Remove(grp);

            IList <Mbr> Mbrs;

            Membes.TryGetValue(grp.Id, out Mbrs);
            Mbrs.Remove(mbr);
        }
        private void AddRlnToGroupsMembers(Grp grp, Mbr mbr)
        {
            IList <Grp> Grps;

            if (!Groups.TryGetValue(mbr.Id, out Grps))
            {
                Grps = new List <Grp>();
                Groups.Add(mbr.Id, Grps);
            }
            Grps.Add(grp);

            IList <Mbr> Mbrs;

            if (!Membes.TryGetValue(grp.Id, out Mbrs))
            {
                Mbrs = new List <Mbr>();
                Membes.Add(grp.Id, Mbrs);
            }
            Mbrs.Add(mbr);
        }