The following tables list the members exposed by DataSourceAdapter.
Name | Description | |
---|---|---|
CustomBinding | Returns a boolean for whether custom binding is occuring | |
DelayFiltering | Returns a boolean for whether application of the RowFilter on the collection should be delayed or not | |
DelaySort | Delays sorting, this is meant to be used for UnboundFields and this property helps tp delay the sorting until all the unbound values has been provided | |
DeleteParameters | A ParameterCollection used for deletes | |
EnableDataSummarization | Returns a boolean for whether summaries should be calculated for this control | |
EnableSummariesFilter | Gets/sets a value that if true, summaries are calculated only on the filtered data | |
FilterRecord | FilterRecord representing the filtering to be done on the source | |
HasSummaryFields | Indicates whether a field has been added to summary calculations. | |
InsertParameters | A ParameterCollection used for inserts | |
OldValuesParameterFormatString | Returns a string used to format old values | |
OwnerView | Keeps reference to the owner DataSourceObjectView object. | |
PrimaryKey | Implements primary key fields. | |
Records | Implements the Records property. Keeps a reference to the records collection of the data source. | |
RequireFilterableCollection | Returns a boolean for whether the Records collection should be created as a FilterableRecordsCollection | |
RequireSortableCollection | Returns a boolean for whether the Records collection should be created as a SortableRecordsCollection | |
RowFilter | Filter expression. | |
Schema | Implements the Schema property. Keeps a reference to the schema of the data source. | |
Source | Reference to the original data source. In the setter of the property the data source is evaluated and the Schema and Records collections are initialized. | |
UnboundFields | Returns a DataFieldCollection representing any UnboundFields on this control | |
UnboundValues | Returns a Hashtable of unbound values. The keys are datakey. The values are string/object Dictionary. | |
UniqueDataValues | ||
UpdateParameters | A ParameterCollection used for updates |
Name | Description | |
---|---|---|
IsEnumerableITypeList | ||
ViewState | A state bag for the ViewState |
Name | Description | |
---|---|---|
AddSummaryField | Adds a field to summary calculations. | |
DataFieldFromName | Returns a DataField from the schema or the UnboundFields if not found in the schema. null if not in either collection | |
Delete | Deletes records from the source | |
GetRecordCount | Provides the number of records in the data source. This is the total number of records in the data source. | |
GetRecordViewCount | Provides the number of records that are currently requested. This number takes into account paged data. | |
GetValue | Returns a value out of the given record for the given field | |
Insert | Inserts the given values as a new record | |
SaveExtraViewStateForRecord | Saves any extra information int the view state for a DataRecord | |
Select | ||
SetValue | Sets a value in the given record for the given field | |
Sort | If the DataAdapter is using SortableRecordsCollection and there are Records then this method will sort them. | |
Update | Updates the given data item |
Name | Description | |
---|---|---|
CreateFilterRecord | Creates a FilterRecord based upon the row filter | |
CreateRecords | Creates the Records collection for this source | |
InitRecordCount | Initializes the record count with the given value | |
InitRecords | Called from within the Select method to initialize the records. | |
InitSchemaFromBindingList | Initializes schema from a binding list | |
InitSchemaFromEnumerable | Initializes schema from a binding list | |
LoadViewState | Load data modified at run time. | |
SaveViewState | Save data modified at run time. | |
SetRecords | Sets the records collection to the one given | |
TrackViewState | Enables view state tracking for underlying objects. |