Пример #1
0
        public void populate(CmsData.CheckinProfileSetting s)
        {
            id   = s.CheckinProfile.CheckinProfileId;
            name = s.CheckinProfile.Name;

            CampusId                = (s.CampusId == null) ? 0 : s.CampusId.Value;
            Testing                 = s.Testing;
            TestDay                 = s.TestDay;
            DisableJoin             = s.DisableJoin;
            DisableTimer            = s.DisableTimer;
            BackgroundImageURL      = s.BackgroundImageURL;
            CutoffAge               = s.CutoffAge;
            AdminPIN                = s.AdminPIN;
            Logout                  = s.Logout;
            GuestLabels             = s.Guest;
            LocationLabels          = s.Location;
            SecurityType            = s.SecurityType;
            ShowCheckinConfirmation = s.ShowCheckinConfirmation;
        }
Пример #2
0
 private void detach_CheckinProfileSettings(CheckinProfileSetting entity)
 {
     this.SendPropertyChanging();
     entity.CheckinProfile = null;
 }