System.Web.Entity
Represents an Entity Data Model (EDM) to data-bound controls in an ASP.NET application.
Initializes a new instance of the class.
Initializes a new instance of the class with the provided connection.
An to the Entity Data Model (EDM).
Gets or sets a value that indicates whether the control dynamically creates an ORDER BY clause based on values in the collection.
if the control creates the ORDER BY clause; otherwise, . The default value is .
When the property is set to and the property is not null.
Gets or sets a value that indicates whether the control dynamically creates a WHERE clause based on values defined in the collection.
if the control creates the WHERE clause; otherwise, . The default value is .
When the property is set to and the property is not null.
Gets or sets a value that indicates whether the control supports navigation through sections of the data at run time.
if the user can page through the data; otherwise, . The default value is .
Gets or sets a value that indicates whether the control supports sorting the data at run time.
if the user can sort the data; otherwise, . The default value is .
Gets the parameter collection for the query.
A that contains the parameters that are passed to the query command.
Gets or sets an Entity SQL command that defines the query.
A value that is the Entity SQL query.
Gets or sets the connection string that is used to execute the query.
The connection string for the query.
Occurs when the has finished creating the that is used to work with entity data objects.
Occurs when the creates the that is used to work with entity data objects.
Occurs before an is disposed of.
Gets or sets the typed used by the control.
An object that derives from .
Gets or sets the fully qualified name of the typed that is used by the control.
A that is the fully qualified name of the type.
Creates a new instance of the that is associated with this control.
An object that acts as the interface for data-bound controls.
Gets or sets the default container name.
A that is the default container name.
Occurs after an object has been deleted from the data source.
Gets the collection of parameters that are used during a delete operation.
The parameters that are used during a delete operation.
Occurs before an object is deleted from the data source.
Gets or sets a value that indicates whether objects can be deleted through the control.
if automatic delete operations are enabled; otherwise, . The default value is .
Gets or sets the value that indicates whether you want to turn off wrapper creation.
if the properties will be flattened; otherwise, .
Gets or sets a value that indicates whether objects can be added through the control.
if automatic insert operations are enabled; otherwise, . The default value is .
Gets or sets a value that indicates whether objects can be modified through the control.
if automatic update operations are enabled; otherwise, . The default value is .
Gets or sets the name of the entity set used by the control.
The entity set name.
Gets or sets the expression that limits the query to only results of a specific derived type.
The filter expression.
Gets the named data source view that is associated with the data source control.
The name of the view to retrieve. Because the control supports only one view, is ignored.
The that is associated with the control.
Gets a collection of names representing the list of view objects that are associated with the control.
An that contains the names of the views associated with the control.
Gets or sets the Entity SQL expression that specifies how to group the query results.
The GROUP BY clause.
Gets or sets the expression that specifies the related objects to include in the query results.
Comma-separated list of query paths to return in the query results.
Occurs after a new object is created at the data source.
Occurs before a new object is persisted to the data source.
Gets the collection of parameters that are used during an insert operation.
The parameters that are used during an insert operation.
Loads the state of the properties in the control that need to be persisted.
The that contains state information.
Adds a event handler to the control that contains the control.
An object that contains event data.
Raises the event.
An object that contains event data.
Gets or sets the Entity SQL expression that specifies how to order the query results.
The ORDER BY clause.
Gets the collection of parameters that are used to create the ORDER BY clause.
The parameters that are used for creating the ORDER BY clause.
Occurs after the creates an Entity SQL query that was specified during the configuration of the control.
Saves the state of the properties in the control that need to be persisted.
The that contains state information.
Gets or sets the projection that defines the properties to include in the query results.
The parameters that are used for creating the ORDER BY clause.
When the property specifies a query projection and the value of , , or is .
Occurs after a query has been executed.
Occurs before a query is constructed and executed.
Gets the collection of parameters that are used to create the projection.
The parameters that are used for creating the projection.
Gets or sets a value that indicates whether the data from the data source should be stored in view state to make sure that the data has not been changed by another process before it is updated or deleted.
if the values will be stored in view state; otherwise, . The default value is .
Occurs when validation fails in a partial methods or when an exception is raised.
Notifies the data-bound control that a parameter object has changed and the data-bound control needs to refresh.
Causes tracking of view-state changes to the server control so they can be stored in the server control's object. This object is accessible through the property.
Occurs after changes to an object have been persisted to the data source.
Gets the collection of parameters that are used during an update operation.
The parameters that are used during an update operation.
Occurs before changes to an object are persisted to the data source.
Gets or sets the Entity SQL expression that specifies how to filter the query results.
The WHERE clause.
Gets the collection of parameters that are used to create the WHERE clause.
The parameters that are used for creating the WHERE clause.
Provides data for the , , and events.
Gets the used by the data source.
The context used by the data source.
Gets the object that was added, modified, or updated.
An that is the entity.
Gets the exception that was thrown during the insert, update, or delete operation.
The exception, if an error occurred; otherwise, reference ( in Visual Basic).
Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again.
if the exception was handled; otherwise, .
Provides data for the , , and events.
Gets the used by the data source.
The object context used by the data source.
Gets the object being added, modified, or updated.
An that is the entity.
Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.
The exception, if an error occurred; otherwise, a reference ( in Visual Basic).
Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again.
if the exception was handled; otherwise, .
Provides data for the event.
Gets the used by the data source.
The object context used by the data source.
Provides data for the event.
Gets the that is used by the data source.
The object context that is used by the data source.
Provides data for the event.
Gets the used by the data source.
The object context used by the data source.
Provides data for the event.
Gets the used by the data source.
The context used by the data source.
Gets the exception that was thrown during the query.
The exception, if an error occurred; otherwise, reference ( in Visual Basic).
Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again.
if the exception was handled; otherwise, .
Gets the objects returned by the query.
The objects returned by the query.
Gets values that determine how the data is returned.
An object that contains values for determining how the data is returned.
Gets the total number of objects returned by the query.
The total number of objects returned.
Provides data for the event.
Gets the instance that raised the event.
The data source that raised the event.
Gets values that determine how the data is returned.
An object that contains values for determining how the data is returned.
Represents errors that occur when validating properties of a dynamic data source.
Creates a new instance of the class with a system-supplied message that describes the error.
Creates a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Creates a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Gets the exceptions that occur when a new or edited data field is validated.
A collection that contains all the exceptions that occurred.
Supports the control and provides an interface for data-bound controls to perform queries and other operations against entity data.
Initializes a new instance of the class, setting the specified control as the owner of the current view.
The data source control that the object is associated with.
A unique name for the data source view within the scope of the data source control that owns it.
Gets a value that indicates whether the object that is associated with the current control supports the delete operation.
if the operation is supported; otherwise, .
Gets a value that indicates whether the object that is associated with the current control supports the insert operation.
if the operation is supported; otherwise, .
Gets a value that indicates whether the object that is associated with the current control supports paging of retrieved data.
if the operation is supported; otherwise, .
Gets a value that indicates whether the object that is associated with the current control supports retrieving the total number of data rows, in addition to retrieving the data.
if the operation is supported; otherwise, .
Gets a value that indicates whether the object that is associated with the current control supports a sorted view of the retrieved data.
if the operation is supported; otherwise, .
Gets a value that indicates whether the object that is associated with the current control supports the update operation.
if the operation is supported; otherwise, .
Occurs when the has finished creating the used to bind data to controls.
Occurs when the creates the used in data binding.
Occurs before an is disposed.
Occurs after an object has been deleted from the data source.
Occurs before an object is deleted from the data source.
Occurs when validation fails in a partial methods or when an exception is raised.
Performs a delete operation.
The keys of the entity to be deleted.
The values of the entity to be deleted.
The number of rows deleted; otherwise, -1, if the operation fails or the number is not known.
Performs an insert operation.
The values of the entity to be inserted.
The number of rows inserted; otherwise, -1, if the operation fails or the number is not known.
Performs a select operation.
The select operation arguments.
The result of the select operation.
Performs an update operation.
The keys of the entity to be updated.
The new values of the entity to be updated.
The old values of the entity to be updated.
The number of rows updated; otherwise, -1, if the operation fails or the number is not known.
Returns a table that represents the .
A table that contains the properties of the .
Occurs after a new object is created at the data source.
Occurs before a new object is persisted to the data source.
Occurs after the has created an Entity SQL query that was specified during the configuration of the control.
Occurs after a query has been executed.
Occurs before a query is constructed and executed.
Gets a value that indicates whether the object is saving changes to its view state.
if the data source view is marked to save its state; otherwise, .
Restores the previously saved view state for the data source view.
The control state to restore.
Saves the changes to view state for the control since the time that the page was posted back to the server.
The object that contains the changes to the control's view state, or ( in Visual Basic) if there is no view state associated with the object.
Tracks view state changes.
Occurs after changes to an object have been persisted to the data source.
Occurs before changes to an object are persisted to the data source.