Search results for query: *

  1. J

    Resolved Deserialize XML to Object - Main Property Names are in the XML Element

    Thank you for the detailed reply. I should have mentioned I'm dealing with 3rd party XML which I cannot modify. It sounds like I need to keep doing what I'm doing.
  2. J

    Resolved Deserialize XML to Object - Main Property Names are in the XML Element

    Maybe I'm missing something. The code doesn't know to split out the properties (Enable, Name, & Description) that exist as a Setting in each row. Each row contains many settings. The setting contains the property name and the value of the property. I created a sample project to illustrate how...
  3. J

    Resolved Deserialize XML to Object - Main Property Names are in the XML Element

    Thanks for the reply. You have given me an idea here that I can iterate through each row/setting and use reflection to get property values. This should work better than hundreds of lines of LINQ to get property values. I'm inheriting a project and I believe they used xsd.exe to generate the C#...
  4. J

    Resolved Deserialize XML to Object - Main Property Names are in the XML Element

    Hi. I am having an issue figuring out the best way to deserialize the below XML into an easily usable object. Using a C# to XML converter I have a usable object in which I can serialize and deserialize objects. The issue is that using this XML I have to use LINQ to pull out property values. The...
Back
Top Bottom