public bool Insert( int ConferenceRegistrationTypeID,  int ConferenceRegistererId,  DateTime CreatedDate)
        {
            ConferenceRegistrationItemsDAC conferenceregistrationitemsComponent = new ConferenceRegistrationItemsDAC();
            int ConferenceRegistrationItemID = 0;

            return conferenceregistrationitemsComponent.InsertNewConferenceRegistrationItems( ref ConferenceRegistrationItemID,  ConferenceRegistrationTypeID,  ConferenceRegistererId,  CreatedDate);
        }
 public bool Insert(ConferenceRegistrationItems conferenceregistrationitems)
 {
     int autonumber = 0;
     ConferenceRegistrationItemsDAC conferenceregistrationitemsComponent = new ConferenceRegistrationItemsDAC();
     bool endedSuccessfuly = conferenceregistrationitemsComponent.InsertNewConferenceRegistrationItems( ref autonumber,  conferenceregistrationitems.ConferenceRegistrationTypeID,  conferenceregistrationitems.ConferenceRegistererId,  conferenceregistrationitems.CreatedDate);
     if(endedSuccessfuly)
     {
         conferenceregistrationitems.ConferenceRegistrationItemID = autonumber;
     }
     return endedSuccessfuly;
 }