Exemplo n.º 1
0
        public pe_gmmu(pe_grmu grmu, pe_muta muta)
        {
            this._pe_grmu_id = grmu.pe_grmu_id;
            this._pe_muta_id = muta.pe_muta_id;

            muta.pe_gmmu_list.Add(this);
            grmu.pe_gmmu_list.Add(this);

            OnCreated();
        }
Exemplo n.º 2
0
        public virtual pe_attr shallow_copy(pe_muta muta)
        {
            var copy = new pe_attr();

            copy_object.copy <pe_attr>(this, copy);

            copy.pe_muta_id = muta.pe_muta_id;
            copy.pe_muta    = muta;

            // copie des libellés qui sont référencés par l'ip
            if (pe_libl_list.Count > 0)
            {
                copy.pe_muta.pe_ip.add_libl(pe_libl_list.First().shallow_copy());
            }

            return(copy);
        }
Exemplo n.º 3
0
 public virtual void add_muta(pe_muta muta)
 {
     muta.pe_ip = this;
     muta.no_ip = this.no_ip;
     this.pe_muta_list.Add(muta);
 }