public bool Insert(int SponsorId, int PersonId, int ConferenceId, DateTime DateRegistered, decimal DiscountAmount, decimal AmountPaid, string DiscountReason, string RegitrationCategory, string LicenseNumber, string Address, string POBox, string ZipCode, string City, string Country, string PhoneNumberCountryCode, string PhoneNumberAreaCode, string PhoneNumber, string FaxNumberCountryCode, string FaxNumberAreaCode, string FaxNumber, string MobileNumberCountryCode, string MobileNumberAreaCode, string MobileNumber, string Email, string AcademicInformationPosition, string AcademicInformationDegree, bool AcademicInformationHealthCarePro, string AcademicInformationHealthCareProValue, string HospitalInstituteName, string HospitalInstituteDepartment, string HospitalInstituteAddress, string HospitalInstituteZipCode, string HospitalInstituteCity, string HospitalInstituteCountry, string HospitalInstitutePOBox, int ConferenceRegistrationTypeId, bool PreConferenceWorkShopIncluded, bool SubscribeToNewsLetter, bool AOAAdministrator, bool AOARetired, bool AOAClinicalResearcher, bool AOABasicResearcher, bool AOATeacherEducator, bool AOAIndustryRepresentative, bool AOAClinicalPractitioner, bool AOAAlliedHealthProfessional, bool AOAStudent, bool AOAOther, string AOAOtherText, bool AOAMCNAcuteKidneyInjury, bool AOAMCNChronicKidneyDisease, bool AOAMCNHypertension, bool AOAMCNGlomerulonephritis, bool AOAMCNNephrolithiasis, bool AOAMRRTHemodialysis, bool AOAMRRTPertionealDialysis, bool AOAMRRTCRRT, bool AOAMPediatricNephrology, bool AOAMGenetics, bool AOAMUrology, bool AOAMMineralMetabolism, bool AOAMAnemia, bool AOAMDiabetes, bool AOAMImmunology, bool AOAMPathology, bool AOAMIterventionalCCN, bool AOAMOther, string AOAMOtherText, string SponsorName, decimal DeductedAmount, bool IsActive,bool IsMember,bool IsSelfSponsor)
        {
            ConferenceRegisterationsDAC conferenceregisterationsComponent = new ConferenceRegisterationsDAC();
            int ConferenceRegistererId = 0;

            return conferenceregisterationsComponent.InsertNewConferenceRegisterations( ref ConferenceRegistererId,  SponsorId,  PersonId,  ConferenceId,  DateRegistered,  DiscountAmount,  AmountPaid,  DiscountReason,  RegitrationCategory,  LicenseNumber,  Address,  POBox,  ZipCode,  City,  Country,  PhoneNumberCountryCode,  PhoneNumberAreaCode,  PhoneNumber,  FaxNumberCountryCode,  FaxNumberAreaCode,  FaxNumber,  MobileNumberCountryCode,  MobileNumberAreaCode,  MobileNumber,  Email,  AcademicInformationPosition,  AcademicInformationDegree,  AcademicInformationHealthCarePro,  AcademicInformationHealthCareProValue,  HospitalInstituteName,  HospitalInstituteDepartment,  HospitalInstituteAddress,  HospitalInstituteZipCode,  HospitalInstituteCity,  HospitalInstituteCountry,  HospitalInstitutePOBox,  ConferenceRegistrationTypeId,  PreConferenceWorkShopIncluded,  SubscribeToNewsLetter,  AOAAdministrator,  AOARetired,  AOAClinicalResearcher,  AOABasicResearcher,  AOATeacherEducator,  AOAIndustryRepresentative,  AOAClinicalPractitioner,  AOAAlliedHealthProfessional,  AOAStudent,  AOAOther,  AOAOtherText,  AOAMCNAcuteKidneyInjury,  AOAMCNChronicKidneyDisease,  AOAMCNHypertension,  AOAMCNGlomerulonephritis,  AOAMCNNephrolithiasis,  AOAMRRTHemodialysis,  AOAMRRTPertionealDialysis,  AOAMRRTCRRT,  AOAMPediatricNephrology,  AOAMGenetics,  AOAMUrology,  AOAMMineralMetabolism,  AOAMAnemia,  AOAMDiabetes,  AOAMImmunology,  AOAMPathology,  AOAMIterventionalCCN,  AOAMOther,  AOAMOtherText,SponsorName,DeductedAmount,IsActive,IsMember,IsSelfSponsor);
        }
 public bool Insert(ConferenceRegisterations conferenceregisterations)
 {
     int autonumber = 0;
     ConferenceRegisterationsDAC conferenceregisterationsComponent = new ConferenceRegisterationsDAC();
     bool endedSuccessfuly = conferenceregisterationsComponent.InsertNewConferenceRegisterations( ref autonumber,  conferenceregisterations.SponsorId,  conferenceregisterations.PersonId,  conferenceregisterations.ConferenceId,  conferenceregisterations.DateRegistered,  conferenceregisterations.DiscountAmount,  conferenceregisterations.AmountPaid,  conferenceregisterations.DiscountReason,  conferenceregisterations.RegitrationCategory,  conferenceregisterations.LicenseNumber,  conferenceregisterations.Address,  conferenceregisterations.POBox,  conferenceregisterations.ZipCode,  conferenceregisterations.City,  conferenceregisterations.Country,  conferenceregisterations.PhoneNumberCountryCode,  conferenceregisterations.PhoneNumberAreaCode,  conferenceregisterations.PhoneNumber,  conferenceregisterations.FaxNumberCountryCode,  conferenceregisterations.FaxNumberAreaCode,  conferenceregisterations.FaxNumber,  conferenceregisterations.MobileNumberCountryCode,  conferenceregisterations.MobileNumberAreaCode,  conferenceregisterations.MobileNumber,  conferenceregisterations.Email,  conferenceregisterations.AcademicInformationPosition,  conferenceregisterations.AcademicInformationDegree,  conferenceregisterations.AcademicInformationHealthCarePro,  conferenceregisterations.AcademicInformationHealthCareProValue,  conferenceregisterations.HospitalInstituteName,  conferenceregisterations.HospitalInstituteDepartment,  conferenceregisterations.HospitalInstituteAddress,  conferenceregisterations.HospitalInstituteZipCode,  conferenceregisterations.HospitalInstituteCity,  conferenceregisterations.HospitalInstituteCountry,  conferenceregisterations.HospitalInstitutePOBox,  conferenceregisterations.ConferenceRegistrationTypeId,  conferenceregisterations.PreConferenceWorkShopIncluded,  conferenceregisterations.SubscribeToNewsLetter,  conferenceregisterations.AOAAdministrator,  conferenceregisterations.AOARetired,  conferenceregisterations.AOAClinicalResearcher,  conferenceregisterations.AOABasicResearcher,  conferenceregisterations.AOATeacherEducator,  conferenceregisterations.AOAIndustryRepresentative,  conferenceregisterations.AOAClinicalPractitioner,  conferenceregisterations.AOAAlliedHealthProfessional,  conferenceregisterations.AOAStudent,  conferenceregisterations.AOAOther,  conferenceregisterations.AOAOtherText,  conferenceregisterations.AOAMCNAcuteKidneyInjury,  conferenceregisterations.AOAMCNChronicKidneyDisease,  conferenceregisterations.AOAMCNHypertension,  conferenceregisterations.AOAMCNGlomerulonephritis,  conferenceregisterations.AOAMCNNephrolithiasis,  conferenceregisterations.AOAMRRTHemodialysis,  conferenceregisterations.AOAMRRTPertionealDialysis,  conferenceregisterations.AOAMRRTCRRT,  conferenceregisterations.AOAMPediatricNephrology,  conferenceregisterations.AOAMGenetics,  conferenceregisterations.AOAMUrology,  conferenceregisterations.AOAMMineralMetabolism,  conferenceregisterations.AOAMAnemia,  conferenceregisterations.AOAMDiabetes,  conferenceregisterations.AOAMImmunology,  conferenceregisterations.AOAMPathology,  conferenceregisterations.AOAMIterventionalCCN,  conferenceregisterations.AOAMOther,  conferenceregisterations.AOAMOtherText,conferenceregisterations.SponsorName,conferenceregisterations.DeductedAmount,conferenceregisterations.IsActive,conferenceregisterations.IsMember,conferenceregisterations.IsSelfSponsor);
     if(endedSuccessfuly)
     {
         conferenceregisterations.ConferenceRegistererId = autonumber;
     }
     return endedSuccessfuly;
 }