Beispiel #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();
            }
        }
 public void WriteXml(XmlWriter writer)
 {
     writer.WriteAttributeString("PakketNR", PakketNR);
     writer.WriteAttributeString("SubCatNR", SubCatNR);
     writer.WriteAttributeString("Meerprijs", Meerprijs.ToString());
     writer.WriteAttributeString("VerpakkingsToeslag", VerpakkingsToeslag.ToString());
     writer.WriteAttributeString("TotaalMeters", TotaalMeters.ToString());
     //
     writer.WriteAttributeString("CategorieNR", CategorieNR);
     writer.WriteElementString("EenheidMeters", EenheidMeters);
     //
     writer.WriteAttributeString("ID", ID);
     writer.WriteAttributeString("Omschrijving", Omschrijving);
     writer.WriteAttributeString("Volgorde", Volgorde.ToString());
 }