public bool Insert(ConferencesLanguage conferenceslanguage)
        {
            int autonumber = 0;
            ConferencesLanguageDAC conferenceslanguageComponent = new ConferencesLanguageDAC();
            bool endedSuccessfuly = conferenceslanguageComponent.InsertNewConferencesLanguage(ref autonumber, conferenceslanguage.SiteId, conferenceslanguage.ConferenceName, conferenceslanguage.ConferenceLogo, conferenceslanguage.StartDate, conferenceslanguage.EndDate, conferenceslanguage.IsActive, conferenceslanguage.Location, conferenceslanguage.LocationName, conferenceslanguage.LocationLogo, conferenceslanguage.LocationLongitude, conferenceslanguage.LocationLatitude, conferenceslanguage.ConferenceDomain, conferenceslanguage.ConferenceParentId, conferenceslanguage.LanguageID);

            if (endedSuccessfuly)
            {
                conferenceslanguage.ConferenceId = autonumber;
            }
            return(endedSuccessfuly);
        }
        public bool Insert(int SiteId, string ConferenceName, string ConferenceLogo, DateTime StartDate, DateTime EndDate, bool IsActive, string Location, string LocationName, string LocationLogo, decimal LocationLongitude, decimal LocationLatitude, string ConferenceDomain, int ConferenceParentId, int LanguageID)
        {
            ConferencesLanguageDAC conferenceslanguageComponent = new ConferencesLanguageDAC();
            int ConferenceId = 0;

            BusinessLogicLayer.Entities.Conference.Conferences conference = Common.ConferencesLogic.GetByID(ConferenceParentId);
            StartDate         = conference.StartDate;
            EndDate           = conference.EndDate;
            IsActive          = conference.IsActive;
            LocationLongitude = conference.LocationLongitude;
            LocationLatitude  = conference.LocationLatitude;
            ConferenceDomain  = conference.ConferenceDomain;
            return(conferenceslanguageComponent.InsertNewConferencesLanguage(ref ConferenceId, SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceParentId, LanguageID));
        }
        public bool Insert(ref int ConferenceId, int SiteId, string ConferenceName, string ConferenceLogo, DateTime StartDate, DateTime EndDate, bool IsActive, string Location, string LocationName, string LocationLogo, decimal LocationLongitude, decimal LocationLatitude, string ConferenceDomain, int ConferenceParentId, int LanguageID)
        {
            ConferencesLanguageDAC conferenceslanguageComponent = new ConferencesLanguageDAC();

            return(conferenceslanguageComponent.InsertNewConferencesLanguage(ref ConferenceId, SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceParentId, LanguageID));
        }