편집

다음을 통해 공유


IDynamicDataSource Interface

Definition

Represents a data source for a Dynamic Data control.

public interface class IDynamicDataSource : System::Web::UI::IDataSource
public interface IDynamicDataSource : System.Web.UI.IDataSource
type IDynamicDataSource = interface
    interface IDataSource
Public Interface IDynamicDataSource
Implements IDataSource
Derived
Implements

Properties

AutoGenerateWhereClause

Gets or sets a value that indicates whether the IDynamicDataSource control dynamically creates a Where clause based on values defined in the WhereParameters collection.

ContextType

Gets the type of the DataContext class.

EnableDelete

Gets or sets a value that indicates whether the data source view supports the ability to delete rows.

EnableInsert

Gets or sets a value that indicates whether the data source view supports the ability to insert rows.

EnableUpdate

Gets or sets a value that indicates whether the data source view supports the ability to update rows.

EntitySetName

Gets or sets the entity set name.

Where

Gets or sets a value that specifies the condition that must be true for a record to be included in the retrieved data by a Where clause.

WhereParameters

Gets a collection of parameters that are used to create a Where clause.

Methods

GetView(String)

Gets the named data source view associated with the data source control.

(Inherited from IDataSource)
GetViewNames()

Gets a collection of names representing the list of view objects associated with the IDataSource interface.

(Inherited from IDataSource)

Events

DataSourceChanged

Occurs when a data source control has changed in some way that affects data-bound controls.

(Inherited from IDataSource)
Exception

Occurs when a data field fails to validate.

Extension Methods

ExpandDynamicWhereParameters(IDynamicDataSource)

Expands dynamic filters into Where parameters that are usable by the data source.

GetDefaultValues(IDataSource)

Gets the collection of the default values for the specified data source.

GetMetaTable(IDataSource)

Gets the metadata for a table in the specified data source object.

GetTable(IDynamicDataSource)

Returns the MetaTable object that is associated with the specified data source control.

TryGetMetaTable(IDataSource, MetaTable)

Determines whether table metadata is available.

Applies to