Export (0) Print
Expand All
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.

  NameDescription
Public propertyAutoGenerateWhereClauseGets or sets a value that indicates whether the IDynamicDataSource control dynamically creates a Where clause based on values defined in the WhereParameters collection.
Public propertyContextTypeGets the type of the DataContext class.
Public propertyEnableDeleteGets or sets a value that indicates whether the data source view supports the ability to delete rows.
Public propertyEnableInsertGets or sets a value that indicates whether the data source view supports the ability to insert rows.
Public propertyEnableUpdateGets or sets a value that indicates whether the data source view supports the ability to update rows.
Public propertyEntitySetNameGets or sets the entity set name.
Public propertyWhereGets 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 propertyWhereParametersGets a collection of parameters that are used to create a Where clause.
Top
  NameDescription
Public methodGetViewGets the named data source view associated with the data source control. (Inherited from IDataSource.)
Public methodGetViewNamesGets a collection of names representing the list of view objects associated with the IDataSource interface. (Inherited from IDataSource.)
Top
  NameDescription
Public eventDataSourceChangedOccurs when a data source control has changed in some way that affects data-bound controls. (Inherited from IDataSource.)
Public eventExceptionOccurs when a data field fails to validate.
Top
  NameDescription
Public Extension MethodExpandDynamicWhereParametersExpands dynamic filters into Where parameters that are usable by the data source. (Defined by DynamicDataExtensions.)
Public Extension MethodGetDefaultValuesGets the collection of the default values for the specified data source. (Defined by DynamicDataExtensions.)
Public Extension MethodGetMetaTableGets the metadata for a table in the specified data source object. (Defined by DynamicDataExtensions.)
Public Extension MethodGetTableReturns the MetaTable object that is associated with the specified data source control. (Defined by DynamicDataExtensions.)
Public Extension MethodTryGetMetaTableDetermines whether table metadata is available. (Defined by DynamicDataExtensions.)
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.