Export (0) Print
Expand All

LinqDataSourceView Methods

The LinqDataSourceView type exposes the following members.

  NameDescription
Protected method BuildDeleteObject Creates the objects to use for the delete operation. (Inherited from QueryableDataSourceView.)
Protected method BuildInsertObject Creates the objects to use for the insert operation by using the values to insert and the error message to display if the operation fails. (Inherited from QueryableDataSourceView.)
Protected method BuildQuery Creates a Select query expression by using the select arguments of the data source. (Inherited from QueryableDataSourceView.)
Protected method BuildUpdateObjects Creates the objects to use for the update operation by using the specified values. (Inherited from QueryableDataSourceView.)
Public method CanExecute Determines whether the specified command can be executed. (Inherited from DataSourceView.)
Protected method ClearOriginalValues Clears the original values. (Inherited from QueryableDataSourceView.)
Protected method CreateContext(DataSourceOperation) Creates an instance of the data context type using the specified data source operation. (Overrides ContextDataSourceView.CreateContext(DataSourceOperation).)
Protected method CreateContext(Type) Creates an instance of the data context type.
Protected method CreateQueryContext Creates an instance of a query context object that contains the evaluated parameter collections. (Inherited from QueryableDataSourceView.)
Public method Delete(IDictionary, IDictionary) Performs a delete operation. (Inherited from QueryableDataSourceView.)
Public method Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Protected method DeleteDataObject Deletes a data object from a table.
Protected method DeleteObject Deletes a data object from a table. (Overrides QueryableDataSourceView.DeleteObject(Object).)
Protected method DisposeContext() Disposes the context after an operation is performed. (Inherited from ContextDataSourceView.)
Protected method DisposeContext(Object) Disposes the data context. (Overrides ContextDataSourceView.DisposeContext(Object).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExecuteCommand(String, IDictionary, IDictionary) Executes the specified command. (Inherited from DataSourceView.)
Public method ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) Executes the specified command. (Inherited from DataSourceView.)
Protected method ExecuteDelete Performs a delete operation by using the specified keys and old values. (Overrides ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary).)
Protected method ExecuteInsert Performs an insert operation by using the values specified in a collection. (Overrides ContextDataSourceView.ExecuteInsert(IDictionary).)
Protected method ExecutePaging Executes paging by using the QueryContext object from the QueryableDataSource object. (Inherited from QueryableDataSourceView.)
Protected method ExecuteQuery Performs a query, sort, or paging operation on the IQueryable<T> object. (Inherited from QueryableDataSourceView.)
Protected method ExecuteQueryExpressions Executes query expressions by using an IQueryable object and the QueryContext object. (Inherited from QueryableDataSourceView.)
Protected method ExecuteSelect Performs a data retrieval operation. (Overrides QueryableDataSourceView.ExecuteSelect(DataSourceSelectArguments).)
Protected method ExecuteSorting Performs a sorting operation. (Inherited from QueryableDataSourceView.)
Protected method ExecuteUpdate Performs an update operation. (Overrides ContextDataSourceView.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 Retrieves the type of data object to use for the delete, insert, and update operations. (Inherited from ContextDataSourceView.)
Protected method GetEntitySetType Retrieves the entity set as a property, field, or data context. (Inherited from ContextDataSourceView.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetOriginalValues Retrieves the original values for the specified keys that were stored during the Select operation. (Inherited from QueryableDataSourceView.)
Protected method GetSource Returns the data source to apply a query to. (Overrides ContextDataSourceView.GetSource(QueryContext).)
Protected method GetTableMemberInfo Retrieves metadata about the data collection.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HandleValidationErrors Handles any exceptions that occur when a data operation fails while a data object is being created. (Overrides QueryableDataSourceView.HandleValidationErrors(IDictionary<String, Exception>, DataSourceOperation).)
Public method Insert(IDictionary) Performs an asynchronous insert operation on the data items that the QueryableDataSourceView object represents. (Inherited from QueryableDataSourceView.)
Public method Insert(IDictionary, DataSourceViewOperationCallback) Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Protected method InsertDataObject Inserts a data object into a table.
Protected method InsertObject Inserts a data object into a LinqDataSourceView object. (Overrides QueryableDataSourceView.InsertObject(Object).)
Protected method LoadViewState Restores the previously saved view state for the data source view. (Inherited from QueryableDataSourceView.)
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 OnQueryCreated Raises the QueryCreated event after the QueryableDataSource control has created an IQueryable object. (Inherited from QueryableDataSourceView.)
Protected method OnQueryParametersChanged Calls the RaiseViewChanged method. (Inherited from QueryableDataSourceView.)
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.)
Public method RaiseViewChanged Calls the OnDataSourceViewChanged method. (Inherited from QueryableDataSourceView.)
Protected method ResetDataObject Resets the object that contains data to its original state.
Protected method SaveViewState Saves changes to view state for the QueryableDataSourceView object since the time that the page was posted to the server. (Inherited from QueryableDataSourceView.)
Public method Select(DataSourceSelectArguments) Retrieves data from the data source.
Public method Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView.)
Protected method StoreOriginalValues(IList) Stores the original values from the Select operation in the control's view state. (Overrides QueryableDataSourceView.StoreOriginalValues(IList).)
Protected method StoreOriginalValues(IList, Func<PropertyDescriptor, Boolean>) Stores the original values from the select operation in the control's view state when delete or update operations are enabled. (Inherited from QueryableDataSourceView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TrackViewState Causes tracking of view-state changes to the server control so that they can be stored in the server control's state. (Inherited from QueryableDataSourceView.)
Public method Update(IDictionary, IDictionary, IDictionary) Performs an update operation. (Inherited from QueryableDataSourceView.)
Public method Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Protected method UpdateDataObject Updates a data object.
Protected method UpdateObject Updates a data object. (Overrides QueryableDataSourceView.UpdateObject(Object, 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 ValidateEditSupported Validates that the conditions exist to perform an edit operation.
Protected method ValidateInsertSupported Validates that the conditions exist to perform an insert operation.
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 When implemented by a class, loads the server control's previously saved view state for the control. (Inherited from QueryableDataSourceView.)
Explicit interface implemetation Private method IStateManager.SaveViewState When implemented by a class, saves the changes to a server control's view state to an object. (Inherited from QueryableDataSourceView.)
Explicit interface implemetation Private method IStateManager.TrackViewState When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes. (Inherited from QueryableDataSourceView.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft