Export (0) Print
Expand All

DataSet Methods

The DataSet type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AcceptChanges Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BeginInit Begins the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Clears the DataSet of any data by removing all rows in all tables.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Copy Copies both the structure and data for this DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CreateDataReader Overloaded. Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework DetermineSchemaSerializationMode Overloaded. Determines the SchemaSerializationMode for a DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases the resources used by the MarshalByValueComponent.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EndInit Ends the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetChanges Overloaded. Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetDataSetSchema Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Populates a serialization information object with the data needed to serialize the DataSet.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetSchemaSerializable Infrastructure.
Protected method GetSerializationData Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetXml Returns the XML representation of the data stored in the DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetXmlSchema Returns the XML Schema for the XML representation of the data stored in the DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework HasChanges Overloaded. Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework InferXmlSchema Overloaded. Applies XML schema to the DataSet.
Protected method InitializeDerivedDataSet Infrastructure.
Protected method IsBinarySerialized Inspects the format of the serialized representation of the DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Load Overloaded. Fills a DataSet with values from a data source using the supplied IDataReader.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Merge Overloaded. Merges a specified DataSet, DataTable, or array of DataRow objects into the current DataSet or DataTable.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnPropertyChanging Raises the OnPropertyChanging event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnRemoveRelation Occurs when a DataRelation object is removed from a DataTable.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnRemoveTable Occurs when a DataTable is removed from a DataSet.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework RaisePropertyChanging Sends a notification that the specified DataSet property is about to change.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXml Overloaded. Reads XML schema and data into the DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXmlSchema Overloaded. Reads an XML schema into the DataSet.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXmlSerializable Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework RejectChanges Rolls back all the changes made to the DataSet since it was created, or since the last time DataSet.AcceptChanges was called.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Reset Resets the DataSet to its original state. Subclasses should override Reset to restore a DataSet to its original state.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ShouldSerializeRelations Gets a value indicating whether Relations property should be persisted.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ShouldSerializeTables Gets a value indicating whether Tables property should be persisted.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteXml Overloaded. Writes XML data, and optionally the schema, from the DataSet.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteXmlSchema Overloaded. Writes the DataSet structure as an XML schema.
Top

Community Additions

ADD
Show:
© 2014 Microsoft