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!

ForeignKeyConstraint Methods

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

Public:

Equals Gets a value indicating whether the current ForeignKeyConstraint is identical to the specified object.
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.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

CheckStateForProperty (inherited from Constraint) [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.
OnPropertyChanged Inheriting classes should override this method to handle this event. Call base.OnPropertyChanged to send this event to any registered event listeners.
RaisePropertyChanged Raises the property changed event. This creates the needed event data and then calls OnPropertyChanged.
SetDataSet (inherited from Constraint) Sets the constraint's DataSet.

Event Hookup:

RemoveOnPropertyChanged Removes an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.
AddOnPropertyChanged Adds an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.

See Also

ForeignKeyConstraint Class | System.Data Namespace