The members of System.Web.UI.WebControls.ObjectDataSource are listed below.
See Also: Inherited members from System.Web.UI.DataSourceControl
Initializes a new instance of the System.Web.UI.WebControls.ObjectDataSource class. | ||
Initializes a new instance of the System.Web.UI.WebControls.ObjectDataSource class with the specified type name and data retrieval method name. |
CacheDuration | int.
Gets or sets the length of time, in seconds, that the data source control caches data that is retrieved by the ObjectDataSource.SelectMethod property. | |
CacheExpirationPolicy | System.Web.UI.DataSourceCacheExpiry.
Gets or sets the cache expiration behavior that, when combined with the duration, describes the behavior of the cache that the data source control uses. | |
CacheKeyDependency | string.
Gets or sets a user-defined key dependency that is linked to all data cache objects that are created by the data source control. | |
ConflictDetection | System.Web.UI.ConflictOptions.
Gets or sets a value that determines whether or not just the new values are passed to the Update method or both the old and new values are passed to the Update method. | |
ConvertNullToDBNull | bool.
Gets or sets a value indicating whether the System.Web.UI.WebControls.Parameter values that are passed to an update, insert, or delete operation are automatically converted from null to the DBNull.Value value by the System.Web.UI.WebControls.ObjectDataSource control. | |
DataObjectTypeName | string.
Gets or sets the name of a class that the System.Web.UI.WebControls.ObjectDataSource control uses for a parameter in an update, insert, or delete data operation, instead of passing individual values from the data-bound control. | |
DeleteMethod | string.
Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to delete data. | |
[read-only] | DeleteParameters | ParameterCollection.
Gets the parameters collection that contains the parameters that are used by the ObjectDataSource.DeleteMethod method. |
EnableCaching | bool.
Gets or sets a value indicating whether the System.Web.UI.WebControls.ObjectDataSource control has data caching enabled. | |
EnablePaging | bool.
Gets or sets a value that indicates whether the data source control supports paging through the set of data that it retrieves. | |
FilterExpression | string.
Gets or sets a filtering expression that is applied when the method that is specified by the ObjectDataSource.SelectMethod property is called. | |
[read-only] | FilterParameters | ParameterCollection.
Gets a collection of parameters that are associated with any parameter placeholders in the ObjectDataSource.FilterExpression string. |
InsertMethod | string.
Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to insert data. | |
[read-only] | InsertParameters | ParameterCollection.
Gets the parameters collection that contains the parameters that are used by the ObjectDataSource.InsertMethod property. |
MaximumRowsParameterName | string.
Gets or sets the name of the business object data retrieval method parameter that is used to indicate the number of records to retrieve for data source paging support. | |
OldValuesParameterFormatString | string.
Gets or sets a format string to apply to the names of the parameters for original values that are passed to the Delete or Update methods. | |
SelectCountMethod | string.
Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to retrieve a row count. | |
SelectMethod | string.
Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to retrieve data. | |
[read-only] | SelectParameters | ParameterCollection.
Gets a collection of parameters that are used by the method specified by the ObjectDataSource.SelectMethod property. |
SortParameterName | string.
Gets or sets the name of the business object that the ObjectDataSource.SelectMethod parameter used to specify a sort expression for data source sorting support. | |
SqlCacheDependency | string.
Gets or sets a semicolon-delimited string that indicates which databases and tables to use for the Microsoft SQL Server cache dependency. | |
StartRowIndexParameterName | string.
Gets or sets the name of the data retrieval method parameter that is used to indicate the value of the identifier of the first record to retrieve for data source paging support. | |
TypeName | string.
Gets or sets the name of the class that the System.Web.UI.WebControls.ObjectDataSource object represents. | |
UpdateMethod | string.
Gets or sets the name of the method or function that the System.Web.UI.WebControls.ObjectDataSource control invokes to update data. | |
[read-only] | UpdateParameters | ParameterCollection.
Gets the parameters collection that contains the parameters that are used by the method that is specified by the ObjectDataSource.UpdateMethod property. |
Delete()
| ||
Insert()
| ||
Select()
| ||
Update()
|
override | GetView(string)
| |
override | GetViewNames()
| |
override | LoadViewState(object)
| |
override | OnInit(EventArgs)
| |
override | SaveViewState()
| |
override | TrackViewState()
|
Deleted |
Occurs when a ObjectDataSource.Delete operation has completed. | |
Deleting |
Occurs before a ObjectDataSource.Delete operation. | |
Filtering |
Occurs before a filter operation. | |
Inserted |
Occurs when an ObjectDataSource.Insert operation has completed. | |
Inserting |
Occurs before an ObjectDataSource.Insert operation. | |
ObjectCreated |
Occurs after the object that is identified by the ObjectDataSource.TypeName property is created. | |
ObjectCreating |
Occurs before the object that is identified by the ObjectDataSource.TypeName property is created. | |
ObjectDisposing |
Occurs before the object that is identified by the ObjectDataSource.TypeName property is discarded. | |
Selected |
Occurs when a ObjectDataSource.Select operation has completed. | |
Selecting |
Occurs before a ObjectDataSource.Select operation. | |
Updated |
Occurs when an ObjectDataSource.Update operation has completed. | |
Updating |
Occurs before an ObjectDataSource.Update operation. |