Entity Framework with text files (no database!)

前端 未结 1 895
花落未央
花落未央 2021-01-14 02:02

I\'m used to Forms and DataSets but now I\'m trying out WPF and the Entity Framework. My goal is to fill a DataGrid in WPF with the use of the Entity Framework. However, I d

相关标签:
1条回答
  • 2021-01-14 02:08

    Interesting idea. Microsoft's quite enthusiastic that in theory you can write an EF provider that maps to any kind of data store. I've not got experience with one that maps to a text file, but this link suggests that someone's done it with CSV(!): http://social.msdn.microsoft.com/Forums/ar-SA/adodotnetentityframework/thread/a0e9e20f-66d2-447c-8b7e-75de18535e63?persist=True

    If you're stuck with using text files though, why not try LINQ to XML?

    And: Entity Framework with XML Files

    0 讨论(0)
提交回复
热议问题