This documentation is archived and is not being maintained.

IDynamicDataSource Members

Visual Studio 2008

Represents a data source for a Dynamic Data control.

The IDynamicDataSource type exposes the following members.

  NameDescription
Public method GetView Gets the named data source view associated with the data source control. (Inherited from IDataSource.)
Public method GetViewNames Gets a collection of names representing the list of view objects associated with the IDataSource interface. (Inherited from IDataSource.)
Top

  NameDescription
Public Extension Method ExpandDynamicWhereParameters Expands dynamic filters into Where parameters that are usable by the data source. (Defined by DynamicDataExtensions.)
Public Extension Method GetTable Returns the MetaTable object that is associated with the specified data source control. (Defined by DynamicDataExtensions.)
Top

  NameDescription
Public property AutoGenerateWhereClause Gets or sets a value that indicates whether the IDynamicDataSource control dynamically creates a Where clause that is based on values defined in the WhereParameters collection.
Public property ContextType Gets the type of the DataContext class.
Public property EnableDelete Gets or sets a value that indicates whether the data source view supports deleting rows.
Public property EnableInsert Gets or sets a value that indicates whether the data source view supports inserting rows.
Public property EnableUpdate Gets or sets a value that indicates whether the data source view supports updating rows.
Public property EntitySetName Gets or sets the entity set name.
Public property 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.
Public property WhereParameters Gets a collection of parameters that are used to create a Where clause.
Top

  NameDescription
Public event DataSourceChanged Occurs when a data source control has changed in some way that affects data-bound controls. (Inherited from IDataSource.)
Public event Exception Occurs when a data field fails to validate.
Top
Show: