Generate POCO objects from xml file

后端 未结 3 1935
再見小時候
再見小時候 2021-02-06 00:11

I have an XML file which roughly describes a database schema I am inheriting

I want to generate POCO objects for this file to give me a head start with the business obje

3条回答
  •  我寻月下人不归
    2021-02-06 00:43

    Yes,it can be done. Take a look at T4 text templetes http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx

提交回复
热议问题