Export (0) Print
Expand All

DataSet Members

DataSet overview

Public Constructors

public constructorDataSet Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the DataSet class.

Public Properties

public propertyCaseSensitive

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive.
public propertyContainer (inherited from MarshalByValueComponent) Gets the container for the component.
public propertyDataSetName

Supported by the .NET Compact Framework.

Gets or sets the name of the current DataSet.
public propertyDefaultViewManager

Supported by the .NET Compact Framework.

Gets a custom view of the data contained in the DataSet to allow filtering, searching, and navigating using a custom DataViewManager.
public propertyDesignMode (inherited from MarshalByValueComponent) Gets a value indicating whether the component is currently in design mode.
public propertyEnforceConstraints

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether constraint rules are followed when attempting any update operation.
public propertyExtendedProperties

Supported by the .NET Compact Framework.

Gets the collection of customized user information associated with the DataSet.
public propertyHasErrors

Supported by the .NET Compact Framework.

Gets a value indicating whether there are errors in any of the DataTable objects within this DataSet.
public propertyLocale

Supported by the .NET Compact Framework.

Gets or sets the locale information used to compare strings within the table.
public propertyNamespace

Supported by the .NET Compact Framework.

Gets or sets the namespace of the DataSet.
public propertyPrefix

Supported by the .NET Compact Framework.

Gets or sets an XML prefix that aliases the namespace of the DataSet.
public propertyRelations

Supported by the .NET Compact Framework.

Get the collection of relations that link tables and allow navigation from parent tables to child tables.
public propertySite Overridden. Gets or sets an System.ComponentModel.ISite for the DataSet.
public propertyTables

Supported by the .NET Compact Framework.

Gets the collection of tables contained in the DataSet.

Public Methods

public methodAcceptChanges

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.
public methodClear

Supported by the .NET Compact Framework.

Clears the DataSet of any data by removing all rows in all tables.
public methodClone

Supported by the .NET Compact Framework.

Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data.
public methodCopy Copies both the structure and data for this DataSet.
public methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetChanges Overloaded. Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called.
public methodGetHashCode (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.
public methodGetService (inherited from MarshalByValueComponent) Gets the implementer of the IServiceProvider.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetXml

Supported by the .NET Compact Framework.

Returns the XML representation of the data stored in the DataSet.
public methodGetXmlSchema

Supported by the .NET Compact Framework.

Returns the XSD schema for the XML representation of the data stored in the DataSet.
public methodHasChanges

Supported by the .NET Compact Framework.

Overloaded. Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows.
public methodInferXmlSchema

Supported by the .NET Compact Framework.

Overloaded. Applies XML schema to the DataSet.
public methodMerge Overloaded. Merges a specified DataSet, DataTable, or array of DataRow objects into the current DataSet or DataTable.
public methodReadXml

Supported by the .NET Compact Framework.

Overloaded. Reads XML schema and data into the DataSet.
public methodReadXmlSchema

Supported by the .NET Compact Framework.

Overloaded. Reads an XML schema into the DataSet.
public methodRejectChanges

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.
public methodReset

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.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWriteXml

Supported by the .NET Compact Framework.

Overloaded. Writes XML data, and optionally the schema, from the DataSet.
public methodWriteXmlSchema

Supported by the .NET Compact Framework.

Overloaded. Writes the DataSet structure as an XML schema.

Public Events

public eventDisposed (inherited from MarshalByValueComponent) Adds an event handler to listen to the Disposed event on the component.
public eventMergeFailed Occurs when a target and source DataRow have the same primary key value, and EnforceConstraints is set to true.

Protected Constructors

protected constructorDataSet Constructor Overloaded. Initializes a new instance of the DataSet class.

Protected Properties

protected propertyEvents (inherited from MarshalByValueComponent) Gets the list of event handlers that are attached to this component.

Protected Methods

protected methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnPropertyChanging Raises the OnPropertyChanging event.
protected methodOnRemoveRelation

Supported by the .NET Compact Framework.

Occurs when a DataRelation object is removed from a DataTable.
protected methodOnRemoveTable

Supported by the .NET Compact Framework.

Occurs when a DataTable is removed from a DataSet.
protected methodRaisePropertyChanging Sends notification that the specified DataSet property is about to change.
protected methodShouldSerializeRelations

Supported by the .NET Compact Framework.

Gets a value indicating whether Relations property should be persisted.
protected methodShouldSerializeTables

Supported by the .NET Compact Framework.

Gets a value indicating whether Tables property should be persisted.

Explicit Interface Implementations

See Also

DataSet Class | System.Data Namespace

Show:
© 2014 Microsoft