Exemplo n.º 1
0
        public bool Insert(int ConferenceId, string Name, decimal Fee, string GroupName, DateTime StartDate, DateTime EndDate, DateTime EarlyRegistrationEndDate, decimal LateFee, int ConferenceScheduleID, DateTime OfferStartDate, DateTime OfferEndDate, decimal OfferFee, bool HaveOffer, bool MustRegister)
        {
            ConferenceRegistrationTypeDAC conferenceregistrationtypeComponent = new ConferenceRegistrationTypeDAC();
            int ConferenceRegistrationTypeId = 0;

            return(conferenceregistrationtypeComponent.InsertNewConferenceRegistrationType(ref ConferenceRegistrationTypeId, ConferenceId, Name, Fee, GroupName, StartDate, EndDate, EarlyRegistrationEndDate, LateFee, ConferenceScheduleID, OfferStartDate, OfferEndDate, OfferFee, HaveOffer, MustRegister));
        }
Exemplo n.º 2
0
        public bool Insert(ConferenceRegistrationType conferenceregistrationtype)
        {
            int autonumber = 0;
            ConferenceRegistrationTypeDAC conferenceregistrationtypeComponent = new ConferenceRegistrationTypeDAC();
            bool endedSuccessfuly = conferenceregistrationtypeComponent.InsertNewConferenceRegistrationType(ref autonumber, conferenceregistrationtype.ConferenceId, conferenceregistrationtype.Name, conferenceregistrationtype.Fee, conferenceregistrationtype.GroupName, conferenceregistrationtype.StartDate, conferenceregistrationtype.EndDate, conferenceregistrationtype.EarlyRegistrationEndDate, conferenceregistrationtype.LateFee, conferenceregistrationtype.ConferenceScheduleID, conferenceregistrationtype.OfferStartDate, conferenceregistrationtype.OfferEndDate, conferenceregistrationtype.OfferFee, conferenceregistrationtype.HaveOffer, conferenceregistrationtype.MustRegister);

            if (endedSuccessfuly)
            {
                conferenceregistrationtype.ConferenceRegistrationTypeId = autonumber;
            }
            return(endedSuccessfuly);
        }