Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContextDataSourceView Properties

.NET Framework 4.6 and 4.5

The ContextDataSourceView type exposes the following members.

  Name Description
Public property AutoGenerateOrderByClause Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic an OrderBy clause. (Inherited from QueryableDataSourceView.)
Public property AutoGenerateWhereClause Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control creates a dynamic Where clause. (Inherited from QueryableDataSourceView.)
Public property AutoPage Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging by default. (Inherited from QueryableDataSourceView.)
Public property AutoSort Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports sorting by default. (Inherited from QueryableDataSourceView.)
Public property CanDelete Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports delete operations. (Inherited from QueryableDataSourceView.)
Public property CanInsert Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports insert operations. (Inherited from QueryableDataSourceView.)
Public property CanPage Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports paging. (Inherited from QueryableDataSourceView.)
Public property CanRetrieveTotalRowCount Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports retrieving the total number of data rows, and retrieving the data. (Inherited from QueryableDataSourceView.)
Public property CanSort Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports a sorted view of the retrieved data. (Inherited from QueryableDataSourceView.)
Public property CanUpdate Gets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports update operations. (Inherited from QueryableDataSourceView.)
Protected property Context Gets or sets the current data context.
Public property ContextType Gets the type of the data context.
Public property ContextTypeName Gets or sets the name of the data context class that contains the field or property that is specified in the TableName property.
Public property DeleteParameters Gets the collection that contains the parameters that are used during a delete operation. (Inherited from QueryableDataSourceView.)
Protected property EntitySet Gets or sets the object that contains the value of the data to retrieve.
Public property EntitySetName Gets or sets the name of the property or field in the data-context class that represents a data collection.
Protected property EntitySetType Gets or sets the name of the object that is created for an insert, delete, or update operation.
Protected property EntityType Gets or sets the object that is created for an insert, delete, or update operation. (Overrides QueryableDataSourceView.EntityType.)
Public property EntityTypeName Gets or sets the name of the object that is created for an insert, delete, or update operation.
Protected property Events Gets a list of event-handler delegates for the data source view. (Inherited from DataSourceView.)
Public property GroupBy Gets or sets the name or names of the properties to use during the select operation for grouping data. (Inherited from QueryableDataSourceView.)
Public property GroupByParameters Gets a collection of parameters whose values are used to create the GroupBy clause during the select operation. (Inherited from QueryableDataSourceView.)
Public property InsertParameters Gets a collection of parameters that are used during the insert operation. (Inherited from QueryableDataSourceView.)
Protected property IsTrackingViewState Gets a value that indicates whether the QueryableDataSourceView object is saving changes to its view state. (Inherited from QueryableDataSourceView.)
Public property Name Gets the name of the data source view. (Inherited from DataSourceView.)
Public property OrderBy Gets or sets the name or names of the properties that are used during the select operation to sort data. (Inherited from QueryableDataSourceView.)
Public property OrderByParameters Gets a collection of parameters that are used during the select operation to sort data. (Inherited from QueryableDataSourceView.)
Public property OrderGroupsBy Gets or sets the names of the properties that are used during the select operation to sort grouped data. (Inherited from QueryableDataSourceView.)
Public property OrderGroupsByParameters Gets a collection of parameters that are used to create the OrderGroupsBy clause. (Inherited from QueryableDataSourceView.)
Public property SelectNew Gets or sets the properties and calculated values that are included in the retrieved data. (Inherited from QueryableDataSourceView.)
Public property SelectNewParameters Gets the collection of parameters that are used during a data-retrieval operation. (Inherited from QueryableDataSourceView.)
Public property UpdateParameters Gets the collection of parameters that are used during an update operation. (Inherited from QueryableDataSourceView.)
Public property Where Gets or sets a value that specifies what conditions must be true for a row to be included in the retrieved data. (Inherited from QueryableDataSourceView.)
Public property WhereParameters Gets a collection of parameters that are used to create a Where clause. (Inherited from QueryableDataSourceView.)
Top

  Name Description
Explicit interface implemetation Private property IStateManager.IsTrackingViewState When implemented by a class, gets a value that indicates whether a server control is tracking its view-state changes. (Inherited from QueryableDataSourceView.)
Top
Show:
© 2015 Microsoft