DataSet Methods

 

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodAcceptChanges()

Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.

System_CAPS_pubmethodBeginInit()

Begins the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.

System_CAPS_pubmethodClear()

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

System_CAPS_pubmethodClone()

Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data.

System_CAPS_pubmethodCopy()

Copies both the structure and data for this DataSet.

System_CAPS_pubmethodCreateDataReader()

Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.

System_CAPS_pubmethodCreateDataReader(DataTable[])

Returns a DataTableReader with one result set per DataTable.

System_CAPS_protmethodDetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

Determines the SchemaSerializationMode for a DataSet.

System_CAPS_protmethodDetermineSchemaSerializationMode(XmlReader)

Determines the SchemaSerializationMode for a DataSet.

System_CAPS_pubmethodDispose()

Releases all resources used by the MarshalByValueComponent.(Inherited from MarshalByValueComponent.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.(Inherited from MarshalByValueComponent.)

System_CAPS_pubmethodEndInit()

Ends the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from MarshalByValueComponent.)

System_CAPS_pubmethodGetChanges()

Gets a copy of the DataSet that contains all changes made to it since it was loaded or since AcceptChanges was last called.

System_CAPS_pubmethodGetChanges(DataRowState)

Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called, filtered by DataRowState.

System_CAPS_pubmethodSystem_CAPS_staticGetDataSetSchema(XmlSchemaSet)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a copy of XmlSchemaSet for the DataSet.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a serialization information object with the data needed to serialize the DataSet.

System_CAPS_protmethodGetSchemaSerializable()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a serializable T:System.Xml.Schema.XMLSchema instance.

System_CAPS_protmethodGetSerializationData(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes the table data from the binary or XML stream.

System_CAPS_pubmethodGetService(Type)

Gets the implementer of the IServiceProvider.(Inherited from MarshalByValueComponent.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetXml()

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

System_CAPS_pubmethodGetXmlSchema()

Returns the XML Schema for the XML representation of the data stored in the DataSet.

System_CAPS_pubmethodHasChanges()

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

System_CAPS_pubmethodHasChanges(DataRowState)

Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows, filtered by DataRowState.

System_CAPS_pubmethodInferXmlSchema(Stream, String[])

Applies the XML schema from the specified Stream to the DataSet.

System_CAPS_pubmethodInferXmlSchema(String, String[])

Applies the XML schema from the specified file to the DataSet.

System_CAPS_pubmethodInferXmlSchema(TextReader, String[])

Applies the XML schema from the specified TextReader to the DataSet.

System_CAPS_pubmethodInferXmlSchema(XmlReader, String[])

Applies the XML schema from the specified XmlReader to the DataSet.

System_CAPS_protmethodInitializeDerivedDataSet()

This API supports the product infrastructure and is not intended to be used directly from your code. Deserialize all of the tables data of the DataSet from the binary or XML stream.

System_CAPS_protmethodIsBinarySerialized(SerializationInfo, StreamingContext)

Inspects the format of the serialized representation of the DataSet.

System_CAPS_pubmethodLoad(IDataReader, LoadOption, DataTable[])

Fills a DataSet with values from a data source using the supplied IDataReader, using an array of DataTable instances to supply the schema and namespace information.

System_CAPS_pubmethodLoad(IDataReader, LoadOption, FillErrorEventHandler, DataTable[])

Fills a DataSet with values from a data source using the supplied IDataReader, using an array of DataTable instances to supply the schema and namespace information.

System_CAPS_pubmethodLoad(IDataReader, LoadOption, String[])

Fills a DataSet with values from a data source using the supplied IDataReader, using an array of strings to supply the names for the tables within the DataSet.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMerge(DataRow[])

Merges an array of DataRow objects into the current DataSet.

System_CAPS_pubmethodMerge(DataRow[], Boolean, MissingSchemaAction)

Merges an array of DataRow objects into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.

System_CAPS_pubmethodMerge(DataSet)

Merges a specified DataSet and its schema into the current DataSet.

System_CAPS_pubmethodMerge(DataSet, Boolean)

Merges a specified DataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.

System_CAPS_pubmethodMerge(DataSet, Boolean, MissingSchemaAction)

Merges a specified DataSet and its schema with the current DataSet, preserving or discarding changes in the current DataSet and handling an incompatible schema according to the given arguments.

System_CAPS_pubmethodMerge(DataTable)

Merges a specified DataTable and its schema into the current DataSet.

System_CAPS_pubmethodMerge(DataTable, Boolean, MissingSchemaAction)

Merges a specified DataTable and its schema into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.

System_CAPS_protmethodOnPropertyChanging(PropertyChangedEventArgs)

Raises the OnPropertyChanging event.

System_CAPS_protmethodOnRemoveRelation(DataRelation)

Occurs when a DataRelation object is removed from a DataTable.

System_CAPS_protmethodOnRemoveTable(DataTable)

Occurs when a DataTable is removed from a DataSet.

System_CAPS_protmethodRaisePropertyChanging(String)

Sends a notification that the specified DataSet property is about to change.

System_CAPS_pubmethodReadXml(Stream)

Reads XML schema and data into the DataSet using the specified System.IO.Stream.

System_CAPS_pubmethodReadXml(Stream, XmlReadMode)

Reads XML schema and data into the DataSet using the specified System.IO.Stream and XmlReadMode.

System_CAPS_pubmethodReadXml(String)

Reads XML schema and data into the DataSet using the specified file.

System_CAPS_pubmethodReadXml(String, XmlReadMode)

Reads XML schema and data into the DataSet using the specified file and XmlReadMode.

System_CAPS_pubmethodReadXml(TextReader)

Reads XML schema and data into the DataSet using the specified System.IO.TextReader.

System_CAPS_pubmethodReadXml(TextReader, XmlReadMode)

Reads XML schema and data into the DataSet using the specified System.IO.TextReader and XmlReadMode.

System_CAPS_pubmethodReadXml(XmlReader)

Reads XML schema and data into the DataSet using the specified System.Xml.XmlReader.

System_CAPS_pubmethodReadXml(XmlReader, XmlReadMode)

Reads XML schema and data into the DataSet using the specified System.Xml.XmlReader and XmlReadMode.

System_CAPS_pubmethodReadXmlSchema(Stream)

Reads the XML schema from the specified Stream into the DataSet.

System_CAPS_pubmethodReadXmlSchema(String)

Reads the XML schema from the specified file into the DataSet.

System_CAPS_pubmethodReadXmlSchema(TextReader)

Reads the XML schema from the specified TextReader into the DataSet.

System_CAPS_pubmethodReadXmlSchema(XmlReader)

Reads the XML schema from the specified XmlReader into the DataSet.

System_CAPS_protmethodReadXmlSerializable(XmlReader)

This API supports the product infrastructure and is not intended to be used directly from your code. Ignores attributes and returns an empty DataSet.

System_CAPS_pubmethodRejectChanges()

Rolls back all the changes made to the DataSet since it was created, or since the last time DataSet.AcceptChanges was called.

System_CAPS_pubmethodReset()

Clears all tables and removes all relations, foreign constraints, and tables from the DataSet. Subclasses should override Reset to restore a DataSet to its original state.

System_CAPS_protmethodShouldSerializeRelations()

Gets a value indicating whether Relations property should be persisted.

System_CAPS_protmethodShouldSerializeTables()

Gets a value indicating whether Tables property should be persisted.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from MarshalByValueComponent.)

System_CAPS_pubmethodWriteXml(Stream)

Writes the current data for the DataSet using the specified System.IO.Stream.

System_CAPS_pubmethodWriteXml(Stream, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified System.IO.Stream and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(String)

Writes the current data for the DataSet to the specified file.

System_CAPS_pubmethodWriteXml(String, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet to the specified file using the specified XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(TextWriter)

Writes the current data for the DataSet using the specified TextWriter.

System_CAPS_pubmethodWriteXml(TextWriter, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified TextWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(XmlWriter)

Writes the current data for the DataSet to the specified XmlWriter.

System_CAPS_pubmethodWriteXml(XmlWriter, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified XmlWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXmlSchema(Stream)

Writes the DataSet structure as an XML schema to the specified System.IO.Stream object.

System_CAPS_pubmethodWriteXmlSchema(Stream, Converter<Type, String>)

Writes the DataSet structure as an XML schema to the specified System.IO.Stream object.

System_CAPS_pubmethodWriteXmlSchema(String)

Writes the DataSet structure as an XML schema to a file.

System_CAPS_pubmethodWriteXmlSchema(String, Converter<Type, String>)

Writes the DataSet structure as an XML schema to a file.

System_CAPS_pubmethodWriteXmlSchema(TextWriter)

Writes the DataSet structure as an XML schema to the specified TextWriter object.

System_CAPS_pubmethodWriteXmlSchema(TextWriter, Converter<Type, String>)

Writes the DataSet structure as an XML schema to the specified TextWriter.

System_CAPS_pubmethodWriteXmlSchema(XmlWriter)

Writes the DataSet structure as an XML schema to an XmlWriter object.

System_CAPS_pubmethodWriteXmlSchema(XmlWriter, Converter<Type, String>)

Writes the DataSet structure as an XML schema to the specified XmlWriter.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIListSource.GetList()

For a description of this member, see IListSource.GetList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.GetSchema()

For a description of this member, see IXmlSerializable.GetSchema.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.ReadXml(XmlReader)

For a description of this member, see IXmlSerializable.ReadXml.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.WriteXml(XmlWriter)

For a description of this member, see IXmlSerializable.WriteXml.

Return to top
Show: