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 Methods

The methods of the DBCommand class are listed below. For a complete list of DBCommand class members, see the DBCommand Members topic.

Public:

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.

Protected:

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.]

Event Hookup:

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

See Also

DBCommand Class | System.Data.Internal Namespace