Provides a context to enumerate through data from cascaded sources.
| C# | Visual Basic | Visual C++ |
public class DataContext
Public Class DataContext
public ref class DataContext
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DataContext(DataCache, DataContext) |
Initializes a new instance of the DataContext class.
| |
| AvailableDataColumnNames |
Gets a list of available data column names.
| |
| CurrentRow |
Gets the row the data context is currently positioned at.
| |
| CurrentRowIndex |
Gets the index of the current row.
| |
| EffectiveRow |
Gets the effective row the context is currently positioned at, that is
the CurrentRow of this context concatenated with the
current rows of all ancestor contexts.
| |
| Equals(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(DataBindingInfoBase) |
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 a hash function for a particular type. (Inherited from Object.) | |
| GetType()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Item[([(String])]) |
Gets the value from the specified variable name.
| |
| 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.
| |
| Parameters |
Gets the parameters set for this context.
| |
| Parent |
Gets or sets the parent data context.
| |
| 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(String) |
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(String, String) |
Sets a parameter value for this context.
| |
| SetRange(Int32, Int32) |
Sets the range of rows in the data Source that should be enumerated.
| |
| Source |
Gets or sets the data source associated with this context.
| |
| ToString()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| DataContext | |
