Can NHibernate persist to flat files instead of database?

后端 未结 2 1049
盖世英雄少女心
盖世英雄少女心 2021-01-05 00:25

Here is a curiousity question. I have an application that must support both flat files and the database as a place to persist data. I was thinking maybe using a .csv or ta

相关标签:
2条回答
  • 2021-01-05 01:00

    Try using the Jet engine (see this)

    Dialect and other nhibernate settings should be the ones for Microsoft Access.

    0 讨论(0)
  • 2021-01-05 01:18

    No not to the best of my knowledge. I have the same requirement and have ended up just using flat XML files and hand rolling all the CRUD.

    Just today I did happen to notice this File System Database on codeplex but haven't looked into it properly yet.

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