Επεξεργασία

Κοινή χρήση μέσω


DynamicDataExtensions Class

Definition

Provides extension methods that are used by ASP.NET Dynamic Data.

public ref class DynamicDataExtensions abstract sealed
public static class DynamicDataExtensions
type DynamicDataExtensions = class
Public Module DynamicDataExtensions
Inheritance
DynamicDataExtensions

Methods

ConvertEditedValue(IFieldFormattingOptions, String)

Returns the value provided by a user for a control that is being validated.

EnablePersistedSelection(BaseDataBoundControl)
Obsolete.

Enables selection to be persisted in data controls that support selection and paging.

ExpandDynamicWhereParameters(IDynamicDataSource)

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

FindDataSourceControl(Control)

Returns the data source that is associated with the data control for the specified control.

FindFieldTemplate(Control, String)

Returns the field template for the specified column in the specified control's naming container.

FindMetaTable(Control)

Returns the metatable object for the containing data control.

FormatEditValue(IFieldFormattingOptions, Object)

Formats the specified field value by using the specified formatting options.

FormatValue(IFieldFormattingOptions, Object)

Formats the specified field value by using the specified formatting options.

GetDefaultValues(IDataSource)

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

GetDefaultValues(INamingContainer)

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

GetEnumType(MetaColumn)

Gets the type of the enumeration that represents the column.

GetMetaTable(IDataSource)

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

GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

GetTable(IDynamicDataSource)

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

LoadWith<TEntity>(LinqDataSource)

Sets the DataLoadOptions value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.

LoadWithForeignKeys(LinqDataSource, Type)

Sets the DataLoadOptions value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.

SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>)

Sets the table metadata and default value mapping for the specified data control.

SetMetaTable(INamingContainer, MetaTable, Object)

Sets the table metadata and default value mapping for the specified data control.

SetMetaTable(INamingContainer, MetaTable)

Sets the table metadata for the specified data control.

TryGetMetaTable(IDataSource, MetaTable)

Determines whether table metadata is available.

TryGetMetaTable(INamingContainer, MetaTable)

Determines whether table metadata is available.

Applies to

See also