NHibernate可以持久化为平面文件而不是数据库吗? [英] Can NHibernate persist to flat files instead of database?

查看:144
本文介绍了NHibernate可以持久化为平面文件而不是数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是一个好奇心的问题。我有一个应用程序必须支持平面文件和数据库作为一个地方来保存数据。我想可能使用.csv或制表符分隔的文件集作为输入...

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 tab-delimited set of files as input ...

是否可以使用NHibernate写入以执行持久化任务? / p>

Is it possible to use NHibernate to write to do both persistance tasks?

推荐答案

尝试使用Jet引擎(请参阅 this

Try using the Jet engine (see this)

方言和其他休眠设置应该是 for Microsoft Access

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

这篇关于NHibernate可以持久化为平面文件而不是数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆