public override void GetReferences(Dictionary <ModelCode, List <long> > references, TypeOfReference refType) { if (Equipments != null && Equipments.Count != 0 && (refType == TypeOfReference.Target || refType == TypeOfReference.Both)) { references[ModelCode.EQUIPMENTCONTAINER_EQUIPS] = Equipments.GetRange(0, Equipments.Count); } base.GetReferences(references, refType); }