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!

DBCommand Members

Public:

Constructor

DBCommand Constructor [To be supplied.]

Properties

CommandBehavior Gets or sets the behavior the DBCommand is to exhibit when executed.
CommandText Gets or sets the text command to run against the data source.
CommandType Gets or sets how the CommandText property is to be interpreted.
UpdatedRowSource Gets or sets how command results are to be applied to the current DataRow, when used by the Update method of a DBDataSetCommand.

Methods

Clone When overridden in a derived class, creates a clone of this instance of DBCommand.
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).
Execute Overloaded. Executes the command against 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.
GetType (inherited from Object) Gets the Type of the Object.
ResetParameters When overridden in a derived class, resets the parameters within the parameters collection.
ShouldPersist When overridden in a derived class, returns whether the settings of the properties should be persisted.
ToString (inherited from Object) Returns a String that represents the current Object.

Events

SchemaChanged Occurs when the DataSet schema has been changed to match the schema change of the data source.
SchemaChanging Occurs when the DataSet schema is to be changed to match the schema change of the data source.

Protected:

Methods

CreateNewSchemaChangedEvent [To be supplied.]
CreateNewSchemaChangingEvent [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.
GetActiveConnectionObject [To be supplied.]
GetParametersObject [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnSchemaChanged Overloaded. [To be supplied.]
OnSchemaChanging Overloaded. [To be supplied.]
SetActiveConnectionObject [To be supplied.]

Fields

cmdText The default string to be used by the CommandText when the DBCommand is initialized.
cmdType The default CommandType to be used by CommandType property when the DBCommand is initialized.
DefaultCommandTimeout The default timeout value to be used when the DBCommand is initialized.

Event Hookup:

Methods

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

See Also

DBCommand Class | System.Data.Internal Namespace