This documentation is archived and is not being maintained.
LinqDataSourceView Methods
Visual Studio 2008
The LinqDataSourceView type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateContext | Creates an instance of the data context type. |
|
Delete | Overloaded. Performs a delete operation. |
|
DeleteDataObject | Deletes a data object from a table. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExecuteDelete | Performs a delete operation by using the specified keys and old values. (Overrides DataSourceView::ExecuteDelete(IDictionary, IDictionary).) |
|
ExecuteInsert | Performs an insert operation by using the values specified in a collection. (Overrides DataSourceView::ExecuteInsert(IDictionary).) |
|
ExecuteSelect | Performs a data retrieval operation. (Overrides DataSourceView::ExecuteSelect(DataSourceSelectArguments).) |
|
ExecuteUpdate | Performs an update operation. (Overrides DataSourceView::ExecuteUpdate(IDictionary, IDictionary, IDictionary).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetDataObjectType | Gets the data object type to use for delete, insert, and update operations. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetTableMemberInfo | Retrieves metadata about the data collection. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Insert | Overloaded. Performs an insert operation. |
|
InsertDataObject | Inserts a data object into a table. |
|
LoadViewState | Restores the previously saved view state for the data source view. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnContextCreated | Raises the ContextCreated event |
|
OnContextCreating | Raises the ContextCreating event. |
|
OnContextDisposing | Raises the ContextDisposing event. |
|
OnDataSourceViewChanged | Raises the DataSourceViewChanged event. (Inherited from DataSourceView.) |
|
OnDeleted | Raises the Deleted event. |
|
OnDeleting | Raises the Deleting event. |
|
OnException | Raises the Exception event when a data operation fails. |
|
OnInserted | Raises the Inserted event after the LinqDataSource control has completed an insert operation. |
|
OnInserting | Raises the Inserting event. |
|
OnSelected | Raises the Selected event after the LinqDataSource control has completed a data retrieval operation. |
|
OnSelecting | Raises the Selecting event before the LinqDataSource control performs a data-retrieval operation. |
|
OnUpdated | Raises the Updated event after the LinqDataSource control has completed an update operation. |
|
OnUpdating | Raises the Updating event before the LinqDataSource control performs an update operation. |
|
RaiseUnsupportedCapabilityError | Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports. (Inherited from DataSourceView.) |
|
ResetDataObject | Resets the object that contains data to its original state. |
|
SaveViewState | Saves the changes to view state for the LinqDataSourceView control since the time that the page was posted back to the server. |
|
Select | Overloaded. Retrieves data from the data source. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TrackViewState | Tracks view state changes. |
|
Update | Overloaded. Performs an update operation. |
|
UpdateDataObject | Updates a data object. |
|
ValidateContextType | Checks whether the data context class derives from DataContext. |
|
ValidateDeleteSupported | Validates that the conditions exist to perform a delete operation. |
|
ValidateInsertSupported | Validates that the conditions exist to perform an insert operation. |
|
ValidateOrderByParameter | Validates that the OrderBy parameter value is a valid field name for the automatically generated OrderBy clause. |
|
ValidateParameterName | Verifies that the provided parameter name is valid. |
|
ValidateTableType | Checks whether the type of the class that represents the data table is a generic type. |
|
ValidateUpdateSupported | Validates that the conditions exist to perform an update operation. |
| Name | Description | |
|---|---|---|
|
IStateManager::LoadViewState | Infrastructure. For a description of this member, see IStateManager::LoadViewState. |
|
IStateManager::SaveViewState | Infrastructure. For a description of this member, see the IStateManager::SaveViewState method. |
|
IStateManager::TrackViewState | Infrastructure. For a description of this member, see the IStateManagerTrackViewState method. |
Show: