Exemple #1
0
        public void ReadSlotBase(SlotBase slot)
        {
            if (slot.SlotId > -1)
                SlotId = slot.SlotId;

            if (slot.ConferenceId > -1)
                ConferenceId = slot.ConferenceId;

            Start = slot.Start;

            if (slot.DurationMins > -1)
                DurationMins = slot.DurationMins;

            if (slot.SlotType > -1)
                SlotType = slot.SlotType;

            if (!String.IsNullOrEmpty(slot.Title))
                Title = slot.Title;

            if (!String.IsNullOrEmpty(slot.Description))
                Description = slot.Description;

            if (slot.DayNr > -1)
                DayNr = slot.DayNr;

            if (slot.LocationId > -1)
                LocationId = slot.LocationId;

        }
Exemple #2
0
 public SlotBase GetSlotBase()
 {
     SlotBase res = new SlotBase();
     res.SlotId = SlotId;
     res.ConferenceId = ConferenceId;
     res.Start = Start;
     res.DurationMins = DurationMins;
     res.SlotType = SlotType;
     res.Title = Title;
     res.Description = Description;
     res.DayNr = DayNr;
      res.LocationId = LocationId;
     res.CreatedByUserID = CreatedByUserID;
     res.CreatedOnDate = CreatedOnDate;
     res.LastModifiedByUserID = LastModifiedByUserID;
     res.LastModifiedOnDate = LastModifiedOnDate;
     return res;
 }
Exemple #3
0
        public void ReadSlotBase(SlotBase slot)
        {
            if (slot.SlotId > -1)
            {
                SlotId = slot.SlotId;
            }

            if (slot.ConferenceId > -1)
            {
                ConferenceId = slot.ConferenceId;
            }

            Start = slot.Start;

            if (slot.DurationMins > -1)
            {
                DurationMins = slot.DurationMins;
            }

            if (slot.SlotType > -1)
            {
                SlotType = slot.SlotType;
            }

            if (!String.IsNullOrEmpty(slot.Title))
            {
                Title = slot.Title;
            }

            if (!String.IsNullOrEmpty(slot.Description))
            {
                Description = slot.Description;
            }

            if (slot.DayNr > -1)
            {
                DayNr = slot.DayNr;
            }

            if (slot.LocationId > -1)
            {
                LocationId = slot.LocationId;
            }
        }
Exemple #4
0
        public SlotBase GetSlotBase()
        {
            SlotBase res = new SlotBase();

            res.SlotId               = SlotId;
            res.ConferenceId         = ConferenceId;
            res.Start                = Start;
            res.DurationMins         = DurationMins;
            res.SlotType             = SlotType;
            res.Title                = Title;
            res.Description          = Description;
            res.DayNr                = DayNr;
            res.LocationId           = LocationId;
            res.CreatedByUserID      = CreatedByUserID;
            res.CreatedOnDate        = CreatedOnDate;
            res.LastModifiedByUserID = LastModifiedByUserID;
            res.LastModifiedOnDate   = LastModifiedOnDate;
            return(res);
        }