Esempio n. 1
0
        public bool Insert(int PersonId, decimal Score, DateTime DateTaken, string LicensingNumber, string RegisterationNumber)
        {
            PersonSCHealthSpecialityDAC personschealthspecialityComponent = new PersonSCHealthSpecialityDAC();
            int PersonSCHealthSpecialityId = 0;

            return(personschealthspecialityComponent.InsertNewPersonSCHealthSpeciality(ref PersonSCHealthSpecialityId, PersonId, Score, DateTaken, LicensingNumber, RegisterationNumber));
        }
Esempio n. 2
0
        public bool Insert(PersonSCHealthSpeciality personschealthspeciality)
        {
            int autonumber = 0;
            PersonSCHealthSpecialityDAC personschealthspecialityComponent = new PersonSCHealthSpecialityDAC();
            bool endedSuccessfuly = personschealthspecialityComponent.InsertNewPersonSCHealthSpeciality(ref autonumber, personschealthspeciality.PersonId, personschealthspeciality.Score, personschealthspeciality.DateTaken, personschealthspeciality.LicensingNumber, personschealthspeciality.RegisterationNumber);

            if (endedSuccessfuly)
            {
                personschealthspeciality.PersonSCHealthSpecialityId = autonumber;
            }
            return(endedSuccessfuly);
        }