SqlDesignerDataSourceView 类

定义

SqlDataSourceDesigner 类提供数据的设计时视图。Provides a design-time view of data for the SqlDataSourceDesigner class.

public ref class SqlDesignerDataSourceView : System::Web::UI::Design::DesignerDataSourceView
public class SqlDesignerDataSourceView : System.Web.UI.Design.DesignerDataSourceView
type SqlDesignerDataSourceView = class
    inherit DesignerDataSourceView
Public Class SqlDesignerDataSourceView
Inherits DesignerDataSourceView
继承
SqlDesignerDataSourceView

构造函数

SqlDesignerDataSourceView(SqlDataSourceDesigner, String)

使用所提供的数据源设计器和视图名称创建 SqlDesignerDataSourceView 类的新实例。Creates a new instance of the SqlDesignerDataSourceView class using the provided data source designer and name of the view.

属性

CanDelete

获取一个值,该值指示与当前 DataSourceControl 对象相关联的 DataSourceView 对象是否支持 ExecuteDelete(IDictionary, IDictionary) 方法。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteDelete(IDictionary, IDictionary) method.

CanInsert

获取一个值,该值指示与当前 DataSourceControl 对象相关联的 DataSourceView 对象是否支持 ExecuteInsert(IDictionary) 方法。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteInsert(IDictionary) method.

CanPage

获取一个值,该值指示与当前 DataSourceControl 对象关联的 DataSourceView 对象是否支持对由 ExecuteSelect(DataSourceSelectArguments) 方法检索到的数据进行分页。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports paging through the data that is retrieved by the ExecuteSelect(DataSourceSelectArguments) method.

CanRetrieveTotalRowCount

获取一个值,该值指示与当前 DataSourceControl 对象关联的 DataSourceView 对象是否支持检索数据的总行数,而不是检索数据本身。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports retrieving the total number of data rows instead of the data itself.

CanSort

获取一个值,该值指示与当前 DataSourceControl 对象关联的 DataSourceView 对象是否支持基础数据源的排序视图。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports a sorted view on the underlying data source.

CanUpdate

获取一个值,该值指示与当前 DataSourceControl 对象相关联的 DataSourceView 对象是否支持 ExecuteUpdate(IDictionary, IDictionary, IDictionary) 方法。Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteUpdate(IDictionary, IDictionary, IDictionary) method.

DataSourceDesigner

获取对创建此 DesignerDataSourceView 控件的设计器的引用。Gets a reference to the designer that created this DesignerDataSourceView control.

(继承自 DesignerDataSourceView)
Name

获取在创建 DesignerDataSourceView 类的此实例时提供的视图的名称。Gets the name of the view as provided when this instance of the DesignerDataSourceView class was created.

(继承自 DesignerDataSourceView)
Schema

获取一个架构,该架构描述此视图对象所表示的数据源视图。Gets a schema that describes the data source view that is represented by this view object.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetDesignTimeData(Int32, Boolean)

使用所提供的行数生成与关联数据源控件的架构匹配的设计时数据,并返回一个指示数据是示例数据还是真实数据的值。Generates design-time data that matches the schema of the associated data source control using the provided number of rows and returns a value indicating whether the data is sample or real data.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅