Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            IMAdaptationTypeEN t = obj as IMAdaptationTypeEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public IMAdaptationTypeEN(IMAdaptationTypeEN iMAdaptationType)
 {
     this.init(Id, iMAdaptationType.AdaptationTypeRequired, iMAdaptationType.Name, iMAdaptationType.Type, iMAdaptationType.IsOID, iMAdaptationType.TargetAssociation, iMAdaptationType.OriginAsociation, iMAdaptationType.AssociationType, iMAdaptationType.IsWritable, iMAdaptationType.Description, iMAdaptationType.Entity, iMAdaptationType.Trigger, iMAdaptationType.Register, iMAdaptationType.Value);
 }