为什么我们没有简单的数据持久性接口? [英] Why don't we have a simple data persistence interface?

查看:45
本文介绍了为什么我们没有简单的数据持久性接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如:

Database.Load(customer);

Database.Load(customer);

Database.Store(customer);

Database.Store(customer);

Database.Delete(客户);

Database.Delete(customer);

仅配置为:

1。可持续属性定义表&主键。

1. Persistable attribute defining table & primary key.

2。 web / app.config中的持久性连接字符串。

2. Persistence connection string in web/app.config.

推荐答案

你能否重新解释一下你的问题?
Can you please rephrase your question?


这篇关于为什么我们没有简单的数据持久性接口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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