NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataSetCommand Members

Public:

Properties

MissingMappingAction Gets or sets whether unmapped source tables or columns are to be passed with their source names to be filtered, or to cause an error to be raised.
MissingSchemaAction Gets or sets whether missing source tables, columns, and their relationships are to be added to the data set schema, to be ignored, or to cause an error to be raised.
Site (inherited from Component) Gets or sets the site of the Component.
TableMappings Gets how a source table is to be mapped to a data set table.

Methods

Clone Creates a clone of this instance of DataSetCommand.
Dispose (inherited from Component) Disposes of the Component.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FillDataSet Changes the data in the DataSet to match the data in the data source.
FillDataSetSchema Fills the DataSet with only the schema based upon the chosen SchemaType.
GetContainer (inherited from Component) Returns the IContainer that contains the Component.
GetDesignMode (inherited from Component) Gets a value indicating whether the Component is currently in design mode.
GetFillDataSetParameters Returns an array of IDataParameter objects used to fill the DataSet with records from the data source.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceObject (inherited from Component) Returns an object representing a service provided by the Component.
GetType (inherited from Object) Gets the Type of the Object.
ToString (inherited from Component) Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only.
Update Changes the data in the data source to match the data in the DataSet.

Events

SchemaChanged Occurs during Update after a command is executed against the data source when the schema may be potentially different due to a property change.
SchemaChanging Occurs during Update before a command is executed against the data source when the schema may be potentially different due to a property change.

Protected:

Constructor

DataSetCommand Constructor Initializes a new instance of the DataSetCommand class.

Methods

CreateNewSchemaChangedEvent [To be supplied.]
CreateNewSchemaChangingEvent [To be supplied.]
CreateNewTableMappings [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnSchemaChanged Raises the OnSchemaChanged event.
OnSchemaChanging Raises the OnSchemaChanged event.

Event Hookup:

Methods

AddOnSchemaChanged [To be supplied.]
AddOnSchemaChanging [To be supplied.]

See Also

DataSetCommand Class | System.Data.Internal Namespace