This topic has not yet been rated - Rate this topic

IDynamicDataSource Interface

Represents a data source for a Dynamic Data control.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)
public interface IDynamicDataSource : IDataSource

The IDynamicDataSource type exposes the following members.

  Name Description
Public property 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.
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 the ability to delete rows.
Public property EnableInsert Gets or sets a value that indicates whether the data source view supports the ability to insert rows.
Public property EnableUpdate Gets or sets a value that indicates whether the data source view supports the ability to update 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
  Name Description
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
  Name Description
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
  Name Description
Public Extension Method ExpandDynamicWhereParameters Expands dynamic filters into Where parameters that are usable by the data source. (Defined by DynamicDataExtensions.)
Public Extension Method GetDefaultValues Gets the collection of the default values for the specified data source. (Defined by DynamicDataExtensions.)
Public Extension Method GetMetaTable Gets the metadata for a table in the specified data source object. (Defined by DynamicDataExtensions.)
Public Extension Method GetTable Returns the MetaTable object that is associated with the specified data source control. (Defined by DynamicDataExtensions.)
Public Extension Method TryGetMetaTable Determines whether table metadata is available. (Defined by DynamicDataExtensions.)
Top

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ