LinqDesignerDataSourceView 类

定义

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

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

构造函数

LinqDesignerDataSourceView(LinqDataSourceDesigner)

使用提供的数据源设计器和视图名称初始化 LinqDesignerDataSourceView 类的新实例。Initializes a new instance of the LinqDesignerDataSourceView class with the provided data source designer and view name.

属性

CanDelete

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

CanInsert

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

CanPage

获取一个值,该值指示与当前 LinqDataSourceView 控件关联的 LinqDataSource 对象是否支持对由 ExecuteSelect(DataSourceSelectArguments) 方法检索的数据进行分页。Gets a value that indicates whether the LinqDataSourceView object that is associated with the current LinqDataSource control 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.

(继承自 DesignerDataSourceView)
CanSort

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

CanUpdate

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

DataSourceDesigner

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

(继承自 DesignerDataSourceView)
IsDataContext

获取一个值,该值指示 ContextType 属性是否包含从 DataContext 派生的对象。Gets a value that indicates whether the ContextType property contains an object that derives from DataContext.

IsTableTypeTable

获取一个值,该值指示 TableName 属性是否返回 Table<TEntity> 类型。Gets a value that indicates whether the TableName property returns a Table<TEntity> type.

Name

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

(继承自 DesignerDataSourceView)
Schema

获取描述由当前视图对象表示的数据源视图的架构。Gets the schema that describes the data source view that is represented by the current view object.

方法

Equals(Object)

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

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

使用指定的行数,获取与关联数据源控件的与架构相匹配的设计时数据。Gets the design-time data that matches the schema of the associated data source control by using the specified number of rows. 返回一个值,该值指示数据是示例数据还是真实数据。Returns a value that indicates 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)

适用于

另请参阅