Ejemplo n.º 1
0
        public bool Update(int SiteId, string ConferenceName, string ConferenceLogo, DateTime StartDate, DateTime EndDate, bool IsActive, string Location, string LocationName, string LocationLogo, decimal LocationLongitude, decimal LocationLatitude, string ConferenceDomain, string ConferenceCode, string ConferenceAlias, int ConferenceVenueID, bool IsDefault, DateTime AbstractSubmissionStartDate, DateTime AbstractSubmissionEndDate, int AbstractSubmissionEndMessagePageID, int AbstractSubmissionNotStartedPageID, int Original_ConferenceId)
        {
            ConferencesDAC conferencesComponent = new ConferencesDAC();
            SiteLogic      siteLogic            = new ContentManagement.SiteLogic();
            Site           site = siteLogic.GetByID(SiteId);

            site.Name = ConferenceName;
            siteLogic.Update(site, site.SiteId);
            return(conferencesComponent.UpdateConferences(SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceCode, ConferenceAlias, ConferenceVenueID, IsDefault, AbstractSubmissionStartDate, AbstractSubmissionEndDate, AbstractSubmissionEndMessagePageID, AbstractSubmissionNotStartedPageID, Original_ConferenceId));
        }
Ejemplo n.º 2
0
        public bool Update(Conferences conferences, int old_conferenceId)
        {
            ConferencesDAC conferencesComponent = new ConferencesDAC();
            SiteLogic      siteLogic            = new ContentManagement.SiteLogic();
            Site           site = siteLogic.GetByID(conferences.SiteId);

            site.Name = conferences.ConferenceName;
            siteLogic.Update(site, site.SiteId);
            return(conferencesComponent.UpdateConferences(conferences.SiteId, conferences.ConferenceName, conferences.ConferenceLogo, conferences.StartDate, conferences.EndDate, conferences.IsActive, conferences.Location, conferences.LocationName, conferences.LocationLogo, conferences.LocationLongitude, conferences.LocationLatitude, conferences.ConferenceDomain, conferences.ConferenceCode, conferences.ConferenceAlias, conferences.ConferenceVenueID, conferences.IsDefault, conferences.AbstractSubmissionStartDate, conferences.AbstractSubmissionEndDate, conferences.AbstractSubmissionEndMessagePageID, conferences.AbstractSubmissionNotStartedPageID, old_conferenceId));
        }
Ejemplo n.º 3
0
        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, string ConferenceCode, string ConferenceAlias, int ConferenceVenueID, bool IsDefault, DateTime AbstractSubmissionStartDate, DateTime AbstractSubmissionEndDate, int AbstractSubmissionEndMessagePageID, int AbstractSubmissionNotStartedPageID)
        {
            ConferencesDAC conferencesComponent = new ConferencesDAC();
            SiteLogic      siteLogic            = new ContentManagement.SiteLogic();
            Site           site = new Site()
            {
                Name = ConferenceName, IsActive = true
            };

            siteLogic.Insert(site);
            SiteId = site.SiteId;
            return(conferencesComponent.InsertNewConferences(ref ConferenceId, SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceCode, ConferenceAlias, ConferenceVenueID, IsDefault, AbstractSubmissionStartDate, AbstractSubmissionEndDate, AbstractSubmissionEndMessagePageID, AbstractSubmissionNotStartedPageID));
        }
Ejemplo n.º 4
0
        public bool Insert(Conferences conferences)
        {
            int            autonumber           = 0;
            ConferencesDAC conferencesComponent = new ConferencesDAC();
            SiteLogic      siteLogic            = new ContentManagement.SiteLogic();
            Site           site = new Site()
            {
                Name = conferences.ConferenceName, IsActive = true
            };

            siteLogic.Insert(site);
            conferences.SiteId = site.SiteId;
            bool endedSuccessfuly = conferencesComponent.InsertNewConferences(ref autonumber, conferences.SiteId, conferences.ConferenceName, conferences.ConferenceLogo, conferences.StartDate, conferences.EndDate, conferences.IsActive, conferences.Location, conferences.LocationName, conferences.LocationLogo, conferences.LocationLongitude, conferences.LocationLatitude, conferences.ConferenceDomain, conferences.ConferenceCode, conferences.ConferenceAlias, conferences.ConferenceVenueID, conferences.IsDefault, conferences.AbstractSubmissionStartDate, conferences.AbstractSubmissionEndDate, conferences.AbstractSubmissionEndMessagePageID, conferences.AbstractSubmissionNotStartedPageID);

            if (endedSuccessfuly)
            {
                conferences.ConferenceId = autonumber;
            }
            return(endedSuccessfuly);
        }
Ejemplo n.º 5
0
 public bool Update(int SiteId, string ConferenceName, string ConferenceLogo, DateTime StartDate, DateTime EndDate, bool IsActive, string Location, string LocationName, string LocationLogo, decimal LocationLongitude, decimal LocationLatitude, string ConferenceDomain, string ConferenceCode, string ConferenceAlias, int ConferenceVenueID, bool IsDefault, DateTime AbstractSubmissionStartDate, DateTime AbstractSubmissionEndDate, int AbstractSubmissionEndMessagePageID, int AbstractSubmissionNotStartedPageID, int Original_ConferenceId)
 {
     ConferencesDAC conferencesComponent = new ConferencesDAC();
     SiteLogic siteLogic = new ContentManagement.SiteLogic();
     Site site= siteLogic.GetByID(SiteId);
     site.Name = ConferenceName;
     siteLogic.Update(site,site.SiteId);
     return conferencesComponent.UpdateConferences(SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceCode,ConferenceAlias,ConferenceVenueID,IsDefault,AbstractSubmissionStartDate,AbstractSubmissionEndDate,AbstractSubmissionEndMessagePageID,AbstractSubmissionNotStartedPageID, Original_ConferenceId);
 }
Ejemplo n.º 6
0
 public bool Update(Conferences conferences, int old_conferenceId)
 {
     ConferencesDAC conferencesComponent = new ConferencesDAC();
     SiteLogic siteLogic = new ContentManagement.SiteLogic();
     Site site = siteLogic.GetByID(conferences.SiteId);
     site.Name = conferences.ConferenceName;
     siteLogic.Update(site, site.SiteId);
     return conferencesComponent.UpdateConferences(conferences.SiteId, conferences.ConferenceName, conferences.ConferenceLogo, conferences.StartDate, conferences.EndDate, conferences.IsActive, conferences.Location, conferences.LocationName, conferences.LocationLogo, conferences.LocationLongitude, conferences.LocationLatitude, conferences.ConferenceDomain, conferences.ConferenceCode,conferences.ConferenceAlias,conferences.ConferenceVenueID,conferences.IsDefault,conferences.AbstractSubmissionStartDate,conferences.AbstractSubmissionEndDate,conferences.AbstractSubmissionEndMessagePageID,conferences.AbstractSubmissionNotStartedPageID, old_conferenceId);
 }
Ejemplo n.º 7
0
 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, string ConferenceCode, string ConferenceAlias, int ConferenceVenueID, bool IsDefault, DateTime AbstractSubmissionStartDate, DateTime AbstractSubmissionEndDate, int AbstractSubmissionEndMessagePageID, int AbstractSubmissionNotStartedPageID)
 {
     ConferencesDAC conferencesComponent = new ConferencesDAC();
     int ConferenceId = 0;
     SiteLogic siteLogic = new ContentManagement.SiteLogic();
     Site site = new Site() { Name = ConferenceName, IsActive = true };
     siteLogic.Insert(site);
     SiteId = site.SiteId;
     return conferencesComponent.InsertNewConferences(ref ConferenceId, SiteId, ConferenceName, ConferenceLogo, StartDate, EndDate, IsActive, Location, LocationName, LocationLogo, LocationLongitude, LocationLatitude, ConferenceDomain, ConferenceCode,ConferenceAlias,ConferenceVenueID,IsDefault,AbstractSubmissionStartDate,AbstractSubmissionEndDate,AbstractSubmissionEndMessagePageID,AbstractSubmissionNotStartedPageID);
 }
Ejemplo n.º 8
0
 public bool Insert(Conferences conferences)
 {
     int autonumber = 0;
     ConferencesDAC conferencesComponent = new ConferencesDAC();
     SiteLogic siteLogic = new ContentManagement.SiteLogic();
     Site site = new Site() { Name = conferences.ConferenceName, IsActive = true };
     siteLogic.Insert(site);
     conferences.SiteId = site.SiteId;
     bool endedSuccessfuly = conferencesComponent.InsertNewConferences(ref autonumber, conferences.SiteId, conferences.ConferenceName, conferences.ConferenceLogo, conferences.StartDate, conferences.EndDate, conferences.IsActive, conferences.Location, conferences.LocationName, conferences.LocationLogo, conferences.LocationLongitude, conferences.LocationLatitude, conferences.ConferenceDomain, conferences.ConferenceCode,conferences.ConferenceAlias,conferences.ConferenceVenueID,conferences.IsDefault,conferences.AbstractSubmissionStartDate,conferences.AbstractSubmissionEndDate,conferences.AbstractSubmissionEndMessagePageID,conferences.AbstractSubmissionNotStartedPageID);
     if (endedSuccessfuly)
     {
         conferences.ConferenceId = autonumber;
     }
     return endedSuccessfuly;
 }