ObjectDesignerDataSourceView Class
Assembly: System.Design (in system.design.dll)
The ObjectDataSource control represents a data source that calls methods of a business object in order to perform the Delete, Insert, Select, and Update database-type operations.
The ObjectDataSourceDesigner class provides design-time support for the ObjectDataSource control in a visual designer. An ObjectDesignerDataSourceView object provides members that indicate whether various database-type operations can be performed and that return schema and design-time data.
The CanInsert, CanUpdate, and CanDelete properties indicate whether the associated ObjectDataSource control can perform the corresponding database-type operations.
The CanSort property, which is always true, indicates that the associated control can sort rows. The CanPage and CanRetrieveTotalRowCount properties, which are always false, indicate that the associated control cannot perform server paging and cannot return the total number of rows in a query, respectively.
The Schema property gets a schema that describes the data source view that is represented by this view object. The GetDesignTimeData method generates design-time data that matches the schema of the associated control.
- SecurityPermission for calling unmanaged code. Demand value: Demand; Associated enumeration: UnmanagedCode.
System.Web.UI.Design.DesignerDataSourceView
System.Web.UI.Design.WebControls.ObjectDesignerDataSourceView
Reference
ObjectDesignerDataSourceView MembersSystem.Web.UI.Design.WebControls Namespace
DesignerDataSourceView
ObjectDataSourceDesigner
DataSourceDesigner
ControlDesigner
ObjectDataSource
DataSourceControl
Other Resources
Introduction to ASP.NET Control DesignersWalkthrough: Creating a Basic Control Designer for a Web Server Control