Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            AssociationEN t = obj as AssociationEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public AssociationEN(AssociationEN association)
 {
     this.init(Id, association.Name, association.RolOrigin, association.RolTarget, association.Type, association.CardinalityOrigin, association.CardinalityTarget, association.EntityOrigin, association.EntityTarget, association.IoTScenario, association.Description);
 }