System.Web.Entity Represents an Entity Data Model (EDM) to data-bound controls in an ASP.NET application. Creates a new instance of the class. Creates 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. true if the control creates the ORDER BY clause; otherwise false. The default value is false. When the property is set to true 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. true if the control creates the WHERE clause; otherwise, false. The default value is false. When the property is set to true 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. true if the user can page through the data; otherwise, false. The default value is true. Gets or sets a value that indicates whether the control supports sorting the data at run time. true if the user can sort the data; otherwise, false. The default value is true. 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 string 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. 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. true if automatic delete operations are enabled; otherwise, false. The default value is false. Gets or sets a value that indicates whether objects can be added through the control. true if automatic insert operations are enabled; otherwise, false. The default value is false. Gets or sets a value that indicates whether objects can be modified through the control. true if automatic update operations are enabled; otherwise, false. The default value is false. 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 that is associated with the control. The name of the view to retrieve. Because the control supports only one view, is ignored. 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. 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 true. 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. true if the values will be stored in view state; otherwise, false. The default value is true. Occurs when validation fails in a partial methods or when an exception is raised. 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 . 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, a null reference (Nothing in Visual Basic). Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again. true if the exception was handled; otherwise, false. 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 null reference (Nothing in Visual Basic). Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again. true if the exception was handled; otherwise, false. 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 . Gets the exception that was thrown during the query. The exception, if an error occurred; otherwise, a null reference (Nothing in Visual Basic). Gets or sets a value that indicates whether the exception was handled and that it should not be thrown again. true if the exception was handled; otherwise, false. Gets the objects returned by the query. 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 object 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 null, the current exception is raised in a catch block that handles the inner exception. Creates a new instance of the class with serialized data. The object that holds the serialized object data. The contextual information about the source or destination. 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. Gets a value that indicates whether the object that is associated with the current control supports the delete operation. true if the operation is supported; otherwise, false. Gets a value that indicates whether the object that is associated with the current control supports the insert operation. true if the operation is supported; otherwise, false. Gets a value that indicates whether the object that is associated with the current control supports paging of retrieved data. true if the operation is supported; otherwise, false. 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. true if the operation is supported; otherwise, false. Gets a value that indicates whether the object that is associated with the current control supports a sorted view of the retrieved data. true if the operation is supported; otherwise, false. Gets a value that indicates whether the object that is associated with the current control supports the update operation. true if the operation is supported; otherwise, false. 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. 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 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. true if the data source view is marked to save its state; otherwise, false. 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 null (Nothing 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.