需要使用类作为数据库,而手头没有任何数据库 [英] need to use classes as database, without any database at hand

查看:99
本文介绍了需要使用类作为数据库,而手头没有任何数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在没有数据库的情况下使用简单的类进行插入/检索.

我想在获取工作数据库后挂数据库,

EF相关想法将不胜感激.


感谢

how can we do insertion/retrieval with simple classes while having no database at hand.

i want to hook the database after getting the working db,

EF related ideas will be appreciated.


thanks

推荐答案

使用nHibernet.我将自动在db中创建一个表.
Use nHibernet. I will create a tables in db automatically.


您要查找的是完全断开连接的环境中的Entity Framework.
最后!在完全断开连接的N层Web应用程序中工作的实体框架 [ ^ ]
What you are looking for is Entity Framework in a fully disconnected environment.
Finally! Entity Framework working in fully disconnected N-tier web app[^]


这篇关于需要使用类作为数据库,而手头没有任何数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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