This documentation is archived and is not being maintained.

LinqDataSourceView Methods

The LinqDataSourceView type exposes the following members.

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

  NameDescription
Explicit interface implemetation Private method IStateManager::LoadViewState Infrastructure. For a description of this member, see IStateManager::LoadViewState.
Explicit interface implemetation Private method IStateManager::SaveViewState Infrastructure. For a description of this member, see the IStateManager::SaveViewState method.
Explicit interface implemetation Private method IStateManager::TrackViewState Infrastructure. For a description of this member, see the IStateManagerTrackViewState method.
Top
Show: