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

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Esempio n. 2
0
 public UserEN(UserEN user)
 {
     this.init(Id, user.BirthDate, user.Address, user.Surnames, user.Phone, user.Photo, user.IsActive, user.Type, user.IsDiseased, user.Pass, user.Name, user.Description, user.Email, user.RelatedPerson, user.Practitioner, user.Patient, user.Notifications);
 }