Beispiel #1
0
        public override void Parse(XmlNode dom)
        {
            this.Name = dom.Attributes["Name"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "ScalarProperty")
                {
                    var property = new ScalarProperty();
                    property.Parse(n);
                    property.Parent = this;
                    this.ScalarProperty = property;
                }
            }
            base.Parse(dom);
        }
Beispiel #2
0
        public override void Parse(XmlNode dom)
        {
            this.Name = dom.Attributes["Name"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "ScalarProperty")
                {
                    var property = new ScalarProperty();
                    property.Parse(n);
                    property.Parent     = this;
                    this.ScalarProperty = property;
                }
            }
            base.Parse(dom);
        }
Beispiel #3
0
        public override void Parse(XmlNode dom)
        {
            this.StoreEntitySet = dom.Attributes["StoreEntitySet"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "ScalarProperty")
                {
                    var mapping = new ScalarProperty();
                    mapping.Parse(n);
                    mapping.Parent = this;

                    this.ScalarPropertys.Add(mapping.Name, mapping);
                }
            }
            base.Parse(dom);
        }
Beispiel #4
0
        public override void Parse(XmlNode dom)
        {
            this.StoreEntitySet = dom.Attributes["StoreEntitySet"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "ScalarProperty")
                {
                    var mapping = new ScalarProperty();
                    mapping.Parse(n);
                    mapping.Parent = this;

                    this.ScalarPropertys.Add(mapping.Name, mapping);
                }

            }
            base.Parse(dom);
        }