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 = ""; } }
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; } }
public Prospect(int id, WorkspaceObject obj) : base(id, obj) { if (id < 0) { Name = ""; Address = ""; Email = ""; } }
public WorkspaceObject(int id, WorkspaceObject parent) { ID = id; Parent = parent; if (Parent != null) Parent.AppendChild(this); ShouldDelete = false; if (ID > 0) Populate(); }
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); } }
public GroupAutoBlock(int id, WorkspaceObject obj) : base(id, obj) { }
private void DeleteInner(WorkspaceObject current) { foreach (WorkspaceObject children in current.Children) DeleteInner(children); current.Delete(); }
public void AppendChild(WorkspaceObject children) { _childObjects.Add(children); }