示例#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 = "";
     }
 }
示例#3
0
文件: Group.cs 项目: khtutz/anet4jkhz
 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;
     }
 }
示例#5
0
 public Prospect(int id, WorkspaceObject obj)
     : base(id, obj)
 {
     if (id < 0)
     {
         Name = "";
         Address = "";
         Email = "";
     }
 }
示例#6
0
        public WorkspaceObject(int id, WorkspaceObject parent)
        {
            ID = id;
            Parent = parent;
            if (Parent != null)
                Parent.AppendChild(this);

            ShouldDelete = false;
            if (ID > 0)
                Populate();
        }
示例#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;
        }
示例#9
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);

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