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!

ADODataSetCommand Members

Public:

Constructor

ADODataSetCommand Constructor Overloaded. Initializes a new instance of the ADODataSetCommand class.

Properties

DeleteCommand Gets or sets a command for deleting records from the data set.
InsertCommand Gets or sets a command used to insert new records into the data source.
MissingMappingAction (inherited from DataSetCommand) 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 (inherited from DataSetCommand) 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.
SelectCommand Gets or sets a command used to select records in the data source.
Site (inherited from Component) Gets or sets the site of the Component.
TableMappings (inherited from DataSetCommand) Gets how a source table is to be mapped to a data set table.
UpdateCommand Gets or sets a command used to update records in the data source.

Methods

Clone (inherited from DBDataSetCommand) Creates a new instance of this ADODataSetCommand object.
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 (inherited from DBDataSetCommand) Overloaded. Fills the data set with records and schema.
FillDataSetSchema (inherited from DBDataSetCommand) Overloaded. Fills the data set with the schema.
GenerateUpdateCommands (inherited from DBDataSetCommand) Generates the insert, update, or delete commands when each is in a default state.
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 (inherited from DBDataSetCommand) Returns all parameters used when performing the select command.
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 (inherited from DBDataSetCommand) Overloaded. Calls the respective insert, update, or delete commands on the connection, for each inserted, updated, or deleted rows in the data set.

Events

RowUpdated Occurs during Update after a command is executed against the data source. The attempt to update is made, so the event fires.
RowUpdating Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires.
SchemaChanged (inherited from DataSetCommand) 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 (inherited from DataSetCommand) Occurs during Update before a command is executed against the data source when the schema may be potentially different due to a property change.
SchemaMapping Occurs after the schema is mapped from the data source to the data set but before the tables and columns are added to the data set.

Protected:

Methods

CanGenerateUpdateCommands (inherited from DBDataSetCommand) [To be supplied.]
CreateNewConnection Creates a new connection to a data source.
CreateNewDeleteCommand Creates a new command used during Update when deleting records in a data source for deleted rows in the data set.
CreateNewInsertCommand Creates a new command used during Update when inserting records in a data source as new rows in the data set.
CreateNewRowUpdatedEvent [To be supplied.]
CreateNewRowUpdatingEvent [To be supplied.]
CreateNewSchemaChangedEvent (inherited from DataSetCommand) [To be supplied.]
CreateNewSchemaChangingEvent (inherited from DataSetCommand) [To be supplied.]
CreateNewSchemaMappingEvent [To be supplied.]
CreateNewSelectCommand Creates a new command used during Update to select records from a data source for inclusion into the data set.
CreateNewTableMappings (inherited from DataSetCommand) [To be supplied.]
CreateNewUpdateCommand Creates a new command used during Update when updating records in a data source for modified rows in the data set.
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.
FixupDataCommand (inherited from DBDataSetCommand) [To be supplied.]
ForceGenerateUpdateCommand [To be supplied.]
GetDeleteCommandObject (inherited from DBDataSetCommand) [To be supplied.]
GetInsertCommandObject (inherited from DBDataSetCommand) [To be supplied.]
GetSelectCommandObject (inherited from DBDataSetCommand) [To be supplied.]
GetUpdateCommandObject (inherited from DBDataSetCommand) [To be supplied.]
IsValidDataCommand [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnRowUpdated Overloaded. [To be supplied.]
OnRowUpdating Overloaded. [To be supplied.]
OnSchemaChanged (inherited from DataSetCommand) Raises the OnSchemaChanged event.
OnSchemaChanging (inherited from DataSetCommand) Raises the OnSchemaChanged event.
OnSchemaMapping Overloaded. [To be supplied.]
ParameterOutput (inherited from DBDataSetCommand) [To be supplied.]
SetDeleteCommandObject (inherited from DBDataSetCommand) [To be supplied.]
SetInsertCommandObject (inherited from DBDataSetCommand) [To be supplied.]
SetSelectCommandObject (inherited from DBDataSetCommand) [To be supplied.]
SetUpdateCommandObject (inherited from DBDataSetCommand) [To be supplied.]

Fields

commands (inherited from DBDataSetCommand) [To be supplied.]

Event Hookup:

Methods

AddOnRowUpdated [To be supplied.]
AddOnRowUpdating [To be supplied.]
AddOnSchemaChanged (inherited from DataSetCommand) [To be supplied.]
AddOnSchemaChanging (inherited from DataSetCommand) [To be supplied.]
AddOnSchemaMapping [To be supplied.]
RemoveOnSchemaChanged (inherited from DataSetCommand) [To be supplied.]
RemoveOnSchemaChanging (inherited from DataSetCommand) [To be supplied.]

See Also

ADODataSetCommand Class | System.Data.ADO Namespace