How to convert XML file to a Database?

前端 未结 5 1230
太阳男子
太阳男子 2021-02-11 04:06

I recently downloaded the SO Data Dump and was wondering how I could convert it from XML to a DB that I could use in my .NET applications.

5条回答
  •  半阙折子戏
    2021-02-11 04:38

    C# handles XML natively very well. Unless there is a large amount of XML, simply use LINQ to XML.

    If you have large amounts of XML, then handling it in streaming mode is proably less work than putting it in a DB

提交回复
热议问题