Exemple #1
0
        public void WriteXml(XmlWriter writer)
        {
            writer.WriteAttributeString("Meters", Meters.ToString());
            writer.WriteAttributeString("RegelIndex", RegelIndex.ToString());
            writer.WriteAttributeString("Opmerking", Opmerking);
            writer.WriteAttributeString("LinkedSubCat", LinkedSubCat);
            writer.WriteAttributeString("NabewerkingSetNR", NabewerkingSetNR);
            writer.WriteAttributeString("IsBasis", IsBasis.ToString());
            writer.WriteAttributeString("Meerprijs", Meerprijs.ToString());
            writer.WriteAttributeString("ProdSoort", ((int)ProdSoort).ToString());
            if (LinkedProduct != null)
            {
                writer.WriteStartElement("LinkedProduct");
                LinkedProduct.WriteXml(writer);
                writer.WriteEndElement();
            }


            if (LinkedHoekProf != null)
            {
                writer.WriteStartElement("LinkedHoekProf");
                LinkedHoekProf.WriteXml(writer);
                writer.WriteEndElement();
            }
        }