Beispiel #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            PatientAccessEN t = obj as PatientAccessEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #2
0
 public PatientAccessEN(PatientAccessEN patientAccess)
 {
     this.init(Id, patientAccess.AccessMode, patientAccess.Name, patientAccess.OriginAssociation, patientAccess.TargetAssociation, patientAccess.Scenario, patientAccess.Description, patientAccess.Operations, patientAccess.Attributes, patientAccess.States);
 }