A strongly typed DataSet addresses these problems.
一个强类型的DataSet可以解决这些问题。
The XSD file stores the XML that defines the schema for the strongly typed DataSet.
XSD文件存储为强类型数据集定义架构的XML。
Because of this inheritance, developers do not lose any functionality by using a strongly typed DataSet.
由于这种继承性,开发人员使用强类型数据集不会丢失任何功能。
It takes an XML Schema Definition (XSD) file as well as a class file to create a strongly typed DataSet.
它使用XMLSchemaDefinition (XSD)文件以及类文件来创建强类型数据集。
I find that it is always a good idea to choose the name for your strongly typed DataSet when you create it.
我发现在创建强类型数据集时为其选择名称始终是一个不错的主意。
The LibraryConsoleTest program in the sample solution demonstrates how the strongly typed DataSet works.
示例解决方案中的LibraryConsoleTest程序演示了强类型DataSet的工作方式。
The strongly typed DataSet offers advantages over the untyped DataSet in terms of speed and easy maintainability.
强类型数据集在速度和易于维护性方面优于非类型化数据集。
The view shown in Figure 2 is just a visual representation of the XML Schema that defines the strongly typed DataSet.
图2 中显示的视图只是定义强类型数据集的XML架构的视觉表示。
This strongly typed DataSet is used within the sample application that you can download from the MSDN Magazine Web site.
此强类型数据集用在示例应用程序中,该示例应用程序可以从MSDNMagazine Web站点下载。
In the end, you will have a descendent of a strongly typed DataSet that encapsulates all of the database interaction.
最后,您将拥有封装所有数据库交互的强类型DataSet的一个子代。
A strongly typed DataSet is actually a class that inherits from the System.Data.DataSet class and adds a few extra features of its own.
强类型数据集实际上是从System . Data . dataset类中继承的类,并且添加了一些自己的额外功能。
The.net framework includes an XSD compiler (xsd.exe) that can generate a strongly typed DataSet from a specially formatted.xsd file.
NET框架包括一个xsd编译器(xsd . exe),它可以从某个经过特殊格式化的. xsd文件中生成一个强类型DataSet。
This code block exemplifies the fact that the code using the untyped DataSet is not as elegant as the code that was written using the strongly typed DataSet.
此代码块举例说明了这样的事实,使用非类型化数据集编写的代码没有使用强类型数据集编写的代码优雅。
The basic DataSet is not strongly typed.
基本的DataSet不是强类型的。
This method allows you to use a non-typed DataSet to create the XSD file for a strongly-typed DataSet.
此方法允许您使用非类型化的DataSet为强类型 DataSet创建XSD文件。
This method allows you to use a non-typed DataSet to create the XSD file for a strongly-typed DataSet.
此方法允许您使用非类型化的DataSet为强类型 DataSet创建XSD文件。
应用推荐