public override bool Equals(object obj) { if (obj == null) { return(false); } EntityEN t = obj as EntityEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public EntityEN(EntityEN entity) { this.init(Id, entity.Name, entity.OriginAssociation, entity.TargetAssociation, entity.Scenario, entity.Description, entity.Operations, entity.Attributes, entity.States); }