c#.net中数据集的用途是什么? [英] What is the use of dataset in c#.net?

查看:102
本文介绍了c#.net中数据集的用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我们使用它而我们可以在没有数据集的情况下完成所有事情?

Why we use it while we can do everything without dataset?

推荐答案

有两种思想流派:



1)表模型:为数据创建表

2)域模型:为数据创建实体容器类



Microsoft在实现数据传输支持时遵循表模型,从一开始就支持大多数工具。



是的,你可以按照域模型做同样的事情,最终取决于你和你更喜欢哪一个。
There are 2 schools of thought :

1) table model : creating tables for data
2) domain model : creating entity container classes for data

Microsoft was following the table model in implementing data transfer support and most of the tools supported that from the beginning.

Yes, you can follow the domain model and do the same thing, and ultimately it is up to you and which one you are more comfortable with.


这篇关于c#.net中数据集的用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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