示例#1
0
        public override void Deserialize(XmlNode Node)
        {
            base.Deserialize(Node);
            TableName = Node.ReadString("tablename");
            DatabaseName.FromString(Node.ReadString("databasename"));
            XmlNodeList children = Node.ChildNodes;

            Children.Clear();
            foreach (XmlNode child in children)
            {
                QChangeRequest childCR = QCRFactory.GetObject(GetType().Namespace, child.Name);
                childCR.Parent = this;
                childCR.Deserialize(child);
                Children.Add(childCR);
            }
        }
        public override void Deserialize(XmlNode Node)
        {
            base.Deserialize(Node);
            code            = Node.ReadInt("code", 0);
            Name            = Node.ReadString("name");
            definition      = Node.ReadString("definition");
            RelatedDBObject = Node.ReadString("relateddbobject");
            DatabaseName.FromString(Node.ReadString("databasename"));
            InstallationCode = Node.ReadInt("installationcode", 0);
            XmlNodeList children = Node.ChildNodes;

            Children.Clear();
            foreach (XmlNode child in children)
            {
                QChangeRequest childCR = QCRFactory.GetObject(GetType().Namespace, child.Name);
                childCR.Parent = this;
                childCR.Deserialize(child);
                Children.Add(childCR);
            }
        }
示例#3
0
 public override void Deserialize(XmlNode Node)
 {
     base.Deserialize(Node);
     InstallationCode = Node.ReadInt("installationcode", 0);
     DatabaseName.FromString(Node.ReadString("databasename", ""));
     Name            = Node.ReadString("name");
     CriterioType    = Node.ReadEnum <QCriterioType>("criteriotype");
     Queues          = Node.ReadBool("queues");
     DynamicQueues   = Node.ReadBool("dynamicqueues");
     Worklist        = Node.ReadBool("worklist");
     Revocation      = Node.ReadBool("revocation");
     Strategy        = Node.ReadBool("strategy");
     DecisionTree    = Node.ReadBool("decisiontree");
     CategoryDesc    = Node.ReadString("categorydesc");
     IsCustomerLevel = Node.ReadBool("iscustomerlevel");
     ClosedCases     = Node.ReadBool("closedcases");
     WhereTable      = Node.ReadString("tablename");
     WhereField      = Node.ReadString("fieldname");
     CrjCode         = Node.ReadString("crjcode");
 }