Exemple #1
0
 public ProspectContact(int id, string contactNumber, WorkspaceObject obj)
     : base(id, obj)
 {
     ID = id;
     ContactNumber = contactNumber;
     OldNumber = contactNumber;
 }
 public ProspectStudentCaseAvailability(int id, WorkspaceObject obj)
     : base(id, obj)
 {
     if (id < 0)
     {
         DayID = 1;
         Remark = "";
     }
 }
Exemple #3
0
 public Group(int id, WorkspaceObject obj)
     : base(id, obj)
 {
     if (id < 0)
     {
         Name = "";
         DateCreated = DateTime.Now;
     }
 }
 public GroupAutoBlockCriterion(int id, WorkspaceObject obj)
     : base(id, obj)
 {
     if (id < 0)
     {
         CriteriaID = 1;
         ValueID = 1;
     }
 }
Exemple #5
0
 public Prospect(int id, WorkspaceObject obj)
     : base(id, obj)
 {
     if (id < 0)
     {
         Name = "";
         Address = "";
         Email = "";
     }
 }
Exemple #6
0
        public WorkspaceObject(int id, WorkspaceObject parent)
        {
            ID = id;
            Parent = parent;
            if (Parent != null)
                Parent.AppendChild(this);

            ShouldDelete = false;
            if (ID > 0)
                Populate();
        }
Exemple #7
0
        public GroupMember(int id, int memberId, WorkspaceObject obj)
            : base(id, obj)
        {
            if (id < 0)
            {
                StaffID = 0;
                DateListed = DateTime.Now;
            }

            MemberID = memberId;
        }
        public ProspectStudentCaseRemarks(int id, WorkspaceObject obj)
            : base(id, obj)
        {
            if (id < 0)
            {
                Date = DateTime.Now;
                Conversation = "";
                StaffID = 833;
            }

            NextCallDay = 0;
        }
        public ProspectStudentCase(int id, WorkspaceObject obj)
            : base(id, obj)
        {
            if (id < 0)
            {
                SubjectID = 1;
                BranchID = 1;
                LevelID = 1;
                SchoolID = 1;
                CaseStatusID = 1;
                StaffID = 833;

                WorkspaceBufferEngine engine = CurrentSession.BufferEngine;
                ProspectStudentCaseRemarks newremarks = new ProspectStudentCaseRemarks(engine.GetNextValidID(), this);
                newremarks.StaffID = CurrentSession.CredentialManager.ValidStaffID(1);
                AddRemark(newremarks);

            }
        }
Exemple #10
0
 public GroupAutoBlock(int id, WorkspaceObject obj)
     : base(id, obj)
 {
 }
Exemple #11
0
 private void DeleteInner(WorkspaceObject current)
 {
     foreach (WorkspaceObject children in current.Children)
         DeleteInner(children);
     current.Delete();
 }
Exemple #12
0
 public void AppendChild(WorkspaceObject children)
 {
     _childObjects.Add(children);
 }