Mono Class Library: Overview

System.Data.DataSet: Members

The members of System.Data.DataSet are listed below.

See Also: Inherited members from System.ComponentModel.MarshalByValueComponent

Public Constructors

Creates and initializes a new instance of the class.
Creates and initializes a new instance of the class with the specified name.

Protected Constructors

This constructor is used internally by the framework and should not be used in the user programs.
Documentation for this section has not yet been entered.

Public Properties

CaseSensitivebool. Gets or sets the value that indicates whether string comparisons within the DataSet are case sensitive.
DataSetNamestring. Gets or sets the name of the DataSet object.
[read-only]
DefaultViewManagerDataViewManager. Gets a custom System.Data.DataViewManager which allows filtering, searching and navigating the DataSet.
EnforceConstraintsbool. Gets or sets a value indicating whether constraint rules are enforced during updates of the DataSet object.
[read-only]
ExtendedPropertiesPropertyCollection. Gets the collection of customized user information associated with the DataSet.
[read-only]
HasErrorsbool. Gets a value indicating whether there are errors in any of the tables within the DataSet object.
[read-only]
IsInitializedbool. Documentation for this section has not yet been entered.
LocaleSystem.Globalization.CultureInfo. Gets or sets the locale information used to compare strings within the table.
Namespacestring. Gets or sets the namespace of the DataSet.
Prefixstring. Gets or sets an XML prefix that aliases the namespace of the DataSet.
[read-only]
RelationsDataRelationCollection. Get the collection of relations that link tables and allow navigation from parent tables to child tables.
RemotingFormatSerializationFormat. Documentation for this section has not yet been entered.
SchemaSerializationModeSchemaSerializationMode. Documentation for this section has not yet been entered.
override
SiteSystem.ComponentModel.ISite. Gets or sets an System.ComponentModel.ISite for the DataSet.
[read-only]
TablesDataTableCollection. Gets the collection of tables contained in the DataSet.

Public Methods

AcceptChanges()
Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.
BeginInit()
This method is not meant for use in the user's program.
Clear()
Removes all the data from the DataSet by deleting all the rows from the table collection.
Clone() : DataSet
Makes a copy of the DataSet structure (schemas, relations and constraints) and returns it as a new instance of DataSet. The data is not copied.
Copy() : DataSet
Copies both the structure (schemas, relations and constraints) of the current object.
CreateDataReader() : DataTableReader
Documentation for this section has not yet been entered.
CreateDataReader(params DataTable[]) : DataTableReader
Documentation for this section has not yet been entered.
EndInit()
This method is not meant for use in the user's program.
GetChanges() : DataSet
Gets a DataSet with the changes since the last call to AcceptChanges or since the object was loaded.
GetChanges(DataRowState) : DataSet
Gets a DataSet with the changes since the last call to AcceptChanges or since the object was loaded. The data is filtered by System.Data.DataRowState.
static
GetDataSetSchema(System.Xml.Schema.XmlSchemaSet) : System.Xml.Schema.XmlSchemaComplexType
Documentation for this section has not yet been entered.
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Documentation for this section has not yet been entered.
GetXml() : string
Returns the data contained in the DataSet formatted as XML.
GetXmlSchema() : string
Returns the XSD representation fore the XML schema of the data contained in the current DataSet.
HasChanges() : bool
Returns a value that indicates whether the current DataSet has any changes in it (that is any New, Deleted or Modified rows).
HasChanges(DataRowState) : bool
Returns a value that indicates whether the current DataSet has any changes in it (that is any New, Deleted or Modified rows), filtered by System.Data.DataRowState
InferXmlSchema(System.IO.Stream, string[])
Applies the specified XML schema from the specified System.IO.Stream to the current DataSet
InferXmlSchema(System.IO.TextReader, string[])
Applies the specified XML schema from the specified System.IO.TextReader to the current DataSet
InferXmlSchema(string, string[])
Applies the specified XML schema from the specified file to the current DataSet
InferXmlSchema(System.Xml.XmlReader, string[])
Applies the specified XML schema from the specified System.Xml.XmlReader to the current DataSet
Load(IDataReader, LoadOption, params DataTable[])
Documentation for this section has not yet been entered.
Load(IDataReader, LoadOption, params string[])
Documentation for this section has not yet been entered.
Load(IDataReader, LoadOption, FillErrorEventHandler, params DataTable[])
Documentation for this section has not yet been entered.
Merge(DataRow[])
Merges an array of System.Data.DataRow objects into the current DataSet.
Merge(DataSet)
Merges a specified DataSet and its schema into the current DataSet.
Merge(DataTable)
Merges a specified System.Data.DataTable and its schema into the current DataSet.
Merge(DataSet, bool)
Merges a specified DataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.
Merge(DataRow[], bool, MissingSchemaAction)
Merges an array of System.Data.DataRow objects into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
Merge(DataSet, bool, 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.
Merge(DataTable, bool, MissingSchemaAction)
Merges a specified System.Data.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.
ReadXml(System.IO.Stream) : XmlReadMode
Reads the XML schema and data from the specified stream.
ReadXml(System.IO.TextReader) : XmlReadMode
Reads the XML data from the specified reader object.
ReadXml(string) : XmlReadMode
Reads the XML from the specified file.
ReadXml(System.Xml.XmlReader) : XmlReadMode
Reads the XML data from the specified XML reader object.
ReadXml(System.IO.Stream, XmlReadMode) : XmlReadMode
Reads the XML schema and data from the specified stream using the indicated read mode.
ReadXml(System.IO.TextReader, XmlReadMode) : XmlReadMode
Reads the XML data from the specified reader object using the indicated read mode.
ReadXml(string, XmlReadMode) : XmlReadMode
Reads the XML from the specified file using the indicated read mode.
ReadXml(System.Xml.XmlReader, XmlReadMode) : XmlReadMode
Reads the XML data from the specified XML reader object using the indicated read mode.
ReadXmlSchema(System.IO.Stream)
Reads the XML schema from the specified stream.
ReadXmlSchema(System.IO.TextReader)
Reads the schema from the specified text reader object.
ReadXmlSchema(string)
Reads the schema from the specified file.
ReadXmlSchema(System.Xml.XmlReader)
Reads the schema from the specified XML reader object.
RejectChanges()
Undoes the changes made to the DataSet since it was created or since the last time DataSet.AcceptChanges was called.
Reset()
Restores the original state of the DataSet object.
WriteXml(System.IO.Stream)
Writes the current DataSet data to the specified stream.
WriteXml(System.IO.TextWriter)
Writes the data to the specified text writer object.
WriteXml(string)
Writes the data to the specified file.
WriteXml(System.Xml.XmlWriter)
Writes the data to the specified XML writer object.
WriteXml(System.IO.Stream, XmlWriteMode)
Writes the current DataSet data to the specified stream using the indicated write mode.
WriteXml(System.IO.TextWriter, XmlWriteMode)
Writes the data to the specified text writer object using the indicated write mode.
WriteXml(string, XmlWriteMode)
Writes the data to the specified file using the indicated write mode.
WriteXml(System.Xml.XmlWriter, XmlWriteMode)
Writes the data to the specified XML writer object using the indicated write mode.
WriteXmlSchema(System.IO.Stream)
Write the schema to the specified stream object.
WriteXmlSchema(System.IO.TextWriter)
Write the schema to the specified text writer object.
WriteXmlSchema(string)
Write the schema to the specified file.
WriteXmlSchema(System.Xml.XmlWriter)
Write the schema to the specified XML writer object.

Protected Methods

DetermineSchemaSerializationMode(System.Xml.XmlReader) : SchemaSerializationMode
Documentation for this section has not yet been entered.
DetermineSchemaSerializationMode(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) : SchemaSerializationMode
Documentation for this section has not yet been entered.
GetSchemaSerializable() : System.Xml.Schema.XmlSchema
This method is not meant for use in the user's program.
GetSerializationData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
This method is not meant for use in the user's program.
InitializeDerivedDataSet()
Documentation for this section has not yet been entered.
IsBinarySerialized(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) : bool
Documentation for this section has not yet been entered.
OnPropertyChanging(System.ComponentModel.PropertyChangedEventArgs)
Documentation for this section has not yet been entered.
OnRemoveRelation(DataRelation)
Documentation for this section has not yet been entered.
OnRemoveTable(DataTable)
Documentation for this section has not yet been entered.
RaisePropertyChanging(string)
Documentation for this section has not yet been entered.
ReadXmlSerializable(System.Xml.XmlReader)
This method should not be called by the user's code.
ShouldSerializeRelations() : bool
Tells whether the DataSet.Relations property should be serialized.
ShouldSerializeTables() : bool
Tells whether the DataSet.Tables property should be serialized.

Public Events

InitializedDocumentation for this section has not yet been entered.
MergeFailedDocumentation for this section has not yet been entered.

Explicitly Implemented Interface Members

[read-only]
System.ComponentModel.IListSource.ContainsListCollectionbool. Documentation for this section has not yet been entered.
System.ComponentModel.IListSource.GetListDocumentation for this section has not yet been entered.
System.Runtime.Serialization.ISerializable.GetObjectDataDocumentation for this section has not yet been entered.
System.Xml.Serialization.IXmlSerializable.GetSchemaDocumentation for this section has not yet been entered.
System.Xml.Serialization.IXmlSerializable.ReadXmlDocumentation for this section has not yet been entered.
System.Xml.Serialization.IXmlSerializable.WriteXmlDocumentation for this section has not yet been entered.