DataSet Methods
The methods of the DataSet class are listed here. For a complete list of DataSet class members, see the DataSet Members topic.
Public Methods
AcceptChanges Supported by the .NET Compact Framework. | Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called. |
Clear Supported by the .NET Compact Framework. | Clears the DataSet of any data by removing all rows in all tables. |
Clone Supported by the .NET Compact Framework. | Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data. |
Copy | Copies both the structure and data for this DataSet. |
Dispose (inherited from MarshalByValueComponent) | Overloaded. Releases the resources used by the MarshalByValueComponent. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetChanges | Overloaded. Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetService (inherited from MarshalByValueComponent) | Gets the implementer of the IServiceProvider. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
GetXml Supported by the .NET Compact Framework. | Returns the XML representation of the data stored in the DataSet. |
GetXmlSchema Supported by the .NET Compact Framework. | Returns the XSD schema for the XML representation of the data stored in the DataSet. |
HasChanges Supported by the .NET Compact Framework. | Overloaded. Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows. |
InferXmlSchema Supported by the .NET Compact Framework. | Overloaded. Applies XML schema to the DataSet. |
Merge | Overloaded. Merges a specified DataSet, DataTable, or array of DataRow objects into the current DataSet or DataTable. |
ReadXml Supported by the .NET Compact Framework. | Overloaded. Reads XML schema and data into the DataSet. |
ReadXmlSchema Supported by the .NET Compact Framework. | Overloaded. Reads an XML schema into the DataSet. |
RejectChanges Supported by the .NET Compact Framework. | Rolls back all the changes made to the DataSet since it was created, or since the last time DataSet.AcceptChanges was called. |
Reset Supported by the .NET Compact Framework. | Resets the DataSet to its original state. Subclasses should override Reset to restore a DataSet to its original state. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
WriteXml Supported by the .NET Compact Framework. | Overloaded. Writes XML data, and optionally the schema, from the DataSet. |
WriteXmlSchema Supported by the .NET Compact Framework. | Overloaded. Writes the DataSet structure as an XML schema. |
Protected Methods
Dispose (inherited from MarshalByValueComponent) | Overloaded. Releases the resources used by the MarshalByValueComponent. |
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
OnPropertyChanging | Raises the OnPropertyChanging event. |
OnRemoveRelation Supported by the .NET Compact Framework. | Occurs when a DataRelation object is removed from a DataTable. |
OnRemoveTable Supported by the .NET Compact Framework. | Occurs when a DataTable is removed from a DataSet. |
RaisePropertyChanging | Sends notification that the specified DataSet property is about to change. |
ShouldSerializeRelations Supported by the .NET Compact Framework. | Gets a value indicating whether Relations property should be persisted. |
ShouldSerializeTables Supported by the .NET Compact Framework. | Gets a value indicating whether Tables property should be persisted. |
