DataContext Methods |
The DataContext type exposes the following members.
| Name | Description | |
|---|---|---|
| ClearData |
Clears the data from the data Source associated with this context.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Get(IDataBindingInfo) |
Gets the data value for the specified data binding info
| |
| Get(String) |
Gets the data value for the specified variable name.
| |
| GetDataRangeInvalidString(Int32, Int32) |
Checks if the data range is valid and returns an error message (using one-based indexing) if it is not.
| |
| GetDataRangeInvalidString(Int32, Int32, Boolean) |
Checks if the data range is valid and returns an error message if it is not.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Next |
Advances the context and its ancestors to the next data row.
| |
| Next(Boolean) |
Advances the context to the next data row.
| |
| ReloadData |
Reloads the data from the data Source associated with this context
and reloads data in ancestor contexts, too.
| |
| ReloadData(Boolean) |
Reloads the data from the data Source associated with this context
and optionally reloads data in ancestor contexts, too.
| |
| RemoveParameter |
Removes the parameter with the specified name from this context.
| |
| Reset |
Resets the data context, i.e. sets the context to its initial position which is before
the first data row, and also its ancestors.
| |
| Reset(Boolean) |
Resets the data context, i.e. sets the context to its initial position which is before
the first data row, and optionally also its ancestors.
| |
| SetFullRange |
Instructs the data context to enumerate all rows in the data Source.
| |
| SetParameter |
Sets a parameter value for this context.
| |
| SetRange(DataRange) |
Sets the range of rows in the data Source that should be enumerated.
| |
| SetRange(Int32, Int32) |
Sets the range of rows in the data Source that should be enumerated.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |