Exemple #1
0
        public bool Insert(int ConferenceProgramId, string Title, int ScheduleSessionTypeId, DateTime StartTime, DateTime EndTime, string SpeakerName, int ConferenceHallId, string Description, string AllDescription, int SpeakerID, string DocPath, int ScheduleparentID, int LanguageID)
        {
            ConferenceScheduleLanguageDAC conferenceschedulelanguageComponent = new ConferenceScheduleLanguageDAC();
            int ScheduleId = 0;

            return(conferenceschedulelanguageComponent.InsertNewConferenceScheduleLanguage(ref ScheduleId, ConferenceProgramId, Title, ScheduleSessionTypeId, StartTime, EndTime, SpeakerName, ConferenceHallId, Description, AllDescription, SpeakerID, DocPath, ScheduleparentID, LanguageID));
        }
Exemple #2
0
        public bool Insert(ConferenceScheduleLanguage conferenceschedulelanguage)
        {
            int autonumber = 0;
            ConferenceScheduleLanguageDAC conferenceschedulelanguageComponent = new ConferenceScheduleLanguageDAC();
            bool endedSuccessfuly = conferenceschedulelanguageComponent.InsertNewConferenceScheduleLanguage(ref autonumber, conferenceschedulelanguage.ConferenceProgramId, conferenceschedulelanguage.Title, conferenceschedulelanguage.ScheduleSessionTypeId, conferenceschedulelanguage.StartTime, conferenceschedulelanguage.EndTime, conferenceschedulelanguage.SpeakerName, conferenceschedulelanguage.ConferenceHallId, conferenceschedulelanguage.Description, conferenceschedulelanguage.AllDescription, conferenceschedulelanguage.SpeakerID, conferenceschedulelanguage.DocPath, conferenceschedulelanguage.ScheduleparentID, conferenceschedulelanguage.LanguageID);

            if (endedSuccessfuly)
            {
                conferenceschedulelanguage.ScheduleId = autonumber;
            }
            return(endedSuccessfuly);
        }