Export (0) Print
Expand All

DataSet Members

Represents an in-memory cache of data.

The DataSet type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework DataSet Overloaded. Initializes a new instance of the DataSet class.
Top

  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

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CaseSensitive Gets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Container Gets the container for the component. (Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DataSetName Gets or sets the name of the current DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DefaultViewManager Gets a custom view of the data contained in the DataSet to allow filtering, searching, and navigating using a custom DataViewManager.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DesignMode Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework EnforceConstraints Gets or sets a value indicating whether constraint rules are followed when attempting any update operation.
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Events Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ExtendedProperties Gets the collection of customized user information associated with the DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework HasErrors Gets a value indicating whether there are errors in any of the DataTable objects within this DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsInitialized Gets a value that indicates whether the DataSet is initialized.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Locale Gets or sets the locale information used to compare strings within the table.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Namespace Gets or sets the namespace of the DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Prefix Gets or sets an XML prefix that aliases the namespace of the DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Relations Get the collection of relations that link tables and allow navigation from parent tables to child tables.
Public property RemotingFormat Gets or sets a SerializationFormat for the DataSet used during remoting.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework SchemaSerializationMode Gets or sets a SchemaSerializationMode for a DataSet.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Site Gets or sets an System.ComponentModel.ISite for the DataSet. (Overrides MarshalByValueComponent.Site.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Tables Gets the collection of tables contained in the DataSet.
Top

  NameDescription
Public event Supported by the .NET Compact Framework Supported by the XNA Framework Disposed Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.)
Public event Supported by the .NET Compact Framework Supported by the XNA Framework Initialized Occurs after the DataSet is initialized.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework MergeFailed Occurs when a target and source DataRow have the same primary key value, and EnforceConstraints is set to true.
Top

Community Additions

ADD
Show:
© 2014 Microsoft