Design Strongly typed object from XML

前端 未结 5 1486
Happy的楠姐
Happy的楠姐 2020-12-18 04:56

I have a couple of XML files that I need to work with, and I\'ve always used the XElement objects and pulled the data via the attribute name or the XElement\'s value.

<
5条回答
  •  有刺的猬
    2020-12-18 05:38

    Check out Linq to XSD:

    The LINQ to XSD technology provides .NET developers with support for typed XML programming. LINQ to XSD contributes to the LINQ project (.NET Language Integrated Query); in particular, LINQ to XSD enhances the existing LINQ to XML technology.

提交回复
热议问题