Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
746 lines (710 sloc) 58.8 KB
<Type Name="DynamicDataExtensions" FullName="System.Web.DynamicData.DynamicDataExtensions">
<TypeSignature Language="C#" Value="public static class DynamicDataExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit DynamicDataExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Web.DynamicData.DynamicDataExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module DynamicDataExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class DynamicDataExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type DynamicDataExtensions = class" />
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides extension methods that are used by ASP.NET Dynamic Data.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/175ce3ff-9bbf-4e64-8421-faeb81a0bb51">Extension Methods (C# Programming Guide)</related>
<related type="Article" href="https://msdn.microsoft.com/library/b8020aae-374d-46a9-bcb7-8cc2390b93b6">Extension Methods (Visual Basic)</related>
</Docs>
<Members>
<Member MemberName="ConvertEditedValue">
<MemberSignature Language="C#" Value="public static object ConvertEditedValue (this System.Web.DynamicData.IFieldFormattingOptions formattingOptions, string value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object ConvertEditedValue(class System.Web.DynamicData.IFieldFormattingOptions formattingOptions, string value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.ConvertEditedValue(System.Web.DynamicData.IFieldFormattingOptions,System.String)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function ConvertEditedValue (formattingOptions As IFieldFormattingOptions, value As String) As Object" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Object ^ ConvertEditedValue(System::Web::DynamicData::IFieldFormattingOptions ^ formattingOptions, System::String ^ value);" />
<MemberSignature Language="F#" Value="static member ConvertEditedValue : System.Web.DynamicData.IFieldFormattingOptions * string -&gt; obj" Usage="System.Web.DynamicData.DynamicDataExtensions.ConvertEditedValue (formattingOptions, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="formattingOptions" Type="System.Web.DynamicData.IFieldFormattingOptions" RefType="this" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<param name="formattingOptions">The formatting options object, as defined by the <see cref="T:System.Web.DynamicData.IFieldFormattingOptions" /> object.</param>
<param name="value">The input value to be converted.</param>
<summary>Returns the value provided by a user for a control that is being validated.</summary>
<returns>
<see langword="null" /> if <paramref name="value" /> is <see langword="null" /> or an empty string and the <see cref="P:System.Web.DynamicData.IFieldFormattingOptions.ConvertEmptyStringToNull" /> property of <paramref name="formattingOptions" /> is <see langword="true" />; <see langword="null" /> if <paramref name="value" /> is not <see langword="null" /> or an empty string and matches the <see cref="P:System.Web.DynamicData.IFieldFormattingOptions.NullDisplayText" /> property of <paramref name="formattingOptions" />; otherwise, the unchanged value of <paramref name="value" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For information about formatting options, see the <xref:System.Web.DynamicData.IFieldFormattingOptions> type overview.
## Examples
The following example shows how to use the <xref:System.Web.DynamicData.DynamicDataExtensions.ConvertEditedValue%2A> method. The example gets user input from a field template that is configured to accept date-time data. In the DynamicData\FieldTemplates\DateTime_Edit.ascx.cs or DynamicData\FieldTemplates\DateTime_Edit.ascx.vb file, the method converts empty strings to `null`.
[!code-csharp[System.Web.DynamicData.DynamicDataExtensions#3](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/DateTime_Edit.ascx.cs#3)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="EnablePersistedSelection">
<MemberSignature Language="C#" Value="public static void EnablePersistedSelection (this System.Web.UI.WebControls.BaseDataBoundControl dataBoundControl);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void EnablePersistedSelection(class System.Web.UI.WebControls.BaseDataBoundControl dataBoundControl) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.EnablePersistedSelection(System.Web.UI.WebControls.BaseDataBoundControl)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub EnablePersistedSelection (dataBoundControl As BaseDataBoundControl)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void EnablePersistedSelection(System::Web::UI::WebControls::BaseDataBoundControl ^ dataBoundControl);" />
<MemberSignature Language="F#" Value="static member EnablePersistedSelection : System.Web.UI.WebControls.BaseDataBoundControl -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.EnablePersistedSelection dataBoundControl" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Obsolete("Use the EnablePersistedSelection property on a databound control such as GridView or ListView.")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataBoundControl" Type="System.Web.UI.WebControls.BaseDataBoundControl" RefType="this" />
</Parameters>
<Docs>
<param name="dataBoundControl">The data bound control.</param>
<summary>Enables selection to be persisted in data controls that support selection and paging.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
In controls that extend <xref:System.Web.UI.WebControls.BaseDataBoundControl> and that support selection, paging, and sorting, calling this method enables the control to persist selection even when the selected row is not visible. For example, if the user selects a row and then pages to another page, or if the user sorts the data, the selected row remains selected. If this method is not called, selection is lost when the user pages or sorts.
The <xref:System.Web.DynamicData.DynamicDataManager.RegisterControl%2A> method calls <xref:System.Web.DynamicData.DynamicDataExtensions.EnablePersistedSelection%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ExpandDynamicWhereParameters">
<MemberSignature Language="C#" Value="public static void ExpandDynamicWhereParameters (this System.Web.DynamicData.IDynamicDataSource dataSource);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void ExpandDynamicWhereParameters(class System.Web.DynamicData.IDynamicDataSource dataSource) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.ExpandDynamicWhereParameters(System.Web.DynamicData.IDynamicDataSource)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub ExpandDynamicWhereParameters (dataSource As IDynamicDataSource)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void ExpandDynamicWhereParameters(System::Web::DynamicData::IDynamicDataSource ^ dataSource);" />
<MemberSignature Language="F#" Value="static member ExpandDynamicWhereParameters : System.Web.DynamicData.IDynamicDataSource -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.ExpandDynamicWhereParameters dataSource" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.DynamicData.IDynamicDataSource" RefType="this" />
</Parameters>
<Docs>
<param name="dataSource">The data source object.</param>
<summary>Expands dynamic filters into <see langword="Where" /> parameters that are usable by the data source.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method expands the values of the current instances of the <xref:System.Web.DynamicData.DynamicControlParameter> and <xref:System.Web.DynamicData.DynamicQueryStringParameter> controls into `Where` parameters that are usable in queries by the data source.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FindDataSourceControl">
<MemberSignature Language="C#" Value="public static System.Web.DynamicData.IDynamicDataSource FindDataSourceControl (this System.Web.UI.Control current);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.DynamicData.IDynamicDataSource FindDataSourceControl(class System.Web.UI.Control current) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.FindDataSourceControl(System.Web.UI.Control)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function FindDataSourceControl (current As Control) As IDynamicDataSource" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::DynamicData::IDynamicDataSource ^ FindDataSourceControl(System::Web::UI::Control ^ current);" />
<MemberSignature Language="F#" Value="static member FindDataSourceControl : System.Web.UI.Control -&gt; System.Web.DynamicData.IDynamicDataSource" Usage="System.Web.DynamicData.DynamicDataExtensions.FindDataSourceControl current" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.DynamicData.IDynamicDataSource</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="current" Type="System.Web.UI.Control" RefType="this" />
</Parameters>
<Docs>
<param name="current">A control inside the hierarchy of a data-bound control whose containing control you want to find.</param>
<summary>Returns the data source that is associated with the data control for the specified control.</summary>
<returns>The data source that is associated with the data control for the specified control.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to find the containing data source control. In the example, the Dynamic Data page templates are copied to the \DynamicData\CustomPages\ProductDescriptions folder to provide a custom display for the ProductDescription table of the AdventureWorksLT database. The Insert.aspx file markup is changed to add an `OnDataBound` event handler named `DetailsView1_DataBound`, in which the <xref:System.Web.DynamicData.DynamicDataExtensions.FindDataSourceControl%2A> method is called to find the data source control.
[!code-csharp[System.Web.DynamicData.DynamicDataExtensions#1](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx.cs#1)]
[!code-aspx-csharp[System.Web.DynamicData.DynamicDataExtensions#2](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx#2)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FindFieldTemplate">
<MemberSignature Language="C#" Value="public static System.Web.UI.Control FindFieldTemplate (this System.Web.UI.Control control, string columnName);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.UI.Control FindFieldTemplate(class System.Web.UI.Control control, string columnName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.FindFieldTemplate(System.Web.UI.Control,System.String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::UI::Control ^ FindFieldTemplate(System::Web::UI::Control ^ control, System::String ^ columnName);" />
<MemberSignature Language="F#" Value="static member FindFieldTemplate : System.Web.UI.Control * string -&gt; System.Web.UI.Control" Usage="System.Web.DynamicData.DynamicDataExtensions.FindFieldTemplate (control, columnName)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.Control</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.Control" RefType="this" />
<Parameter Name="columnName" Type="System.String" />
</Parameters>
<Docs>
<param name="control">The containing control.</param>
<param name="columnName">The name of the column.</param>
<summary>Returns the field template for the specified column in the specified control's naming container.</summary>
<returns>The field template for the specified column in the specified control's naming container.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to find the text box control for a specified column name. In example, the Dynamic Data page templates are copied to the \DynamicData\CustomPages\ProductDescriptions folder to provide a custom display for the ProductDescription table of the AdventureWorksLT database. The Insert.aspx file markup is changed to add an `OnDataBound` event handler named `DetailsView1_DataBound`, in which the <xref:System.Web.DynamicData.DynamicDataExtensions.FindDataSourceControl%2A> method is called to find a text box control.
[!code-csharp[System.Web.DynamicData.DynamicDataExtensions#1](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx.cs#1)]
[!code-aspx-csharp[System.Web.DynamicData.DynamicDataExtensions#2](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx#2)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FindMetaTable">
<MemberSignature Language="C#" Value="public static System.Web.DynamicData.MetaTable FindMetaTable (this System.Web.UI.Control current);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.DynamicData.MetaTable FindMetaTable(class System.Web.UI.Control current) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.FindMetaTable(System.Web.UI.Control)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function FindMetaTable (current As Control) As MetaTable" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::DynamicData::MetaTable ^ FindMetaTable(System::Web::UI::Control ^ current);" />
<MemberSignature Language="F#" Value="static member FindMetaTable : System.Web.UI.Control -&gt; System.Web.DynamicData.MetaTable" Usage="System.Web.DynamicData.DynamicDataExtensions.FindMetaTable current" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.DynamicData.MetaTable</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="current" Type="System.Web.UI.Control" RefType="this" />
</Parameters>
<Docs>
<param name="current">The current control.</param>
<summary>Returns the metatable object for the containing data control.</summary>
<returns>The metatable object for the containing data control.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to find the <xref:System.Web.DynamicData.MetaTable> object for a control. In the example, the Dynamic Data page templates are copied to the \DynamicData\CustomPages\ProductDescriptions folder to provide a custom display for the ProductDescription table of the AdventureWorksLT database. The Insert.aspx file markup is changed to add an `OnDataBound` event handler named `DetailsView1_DataBound`, in which the <xref:System.Web.DynamicData.DynamicDataExtensions.FindMetaTable%2A> method is called to find the <xref:System.Web.DynamicData.MetaTable> object.
[!code-csharp[System.Web.DynamicData.DynamicDataExtensions#1](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx.cs#1)]
[!code-aspx-csharp[System.Web.DynamicData.DynamicDataExtensions#2](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataExtensions/cs/Insert.aspx#2)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FormatEditValue">
<MemberSignature Language="C#" Value="public static string FormatEditValue (this System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string FormatEditValue(class System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.FormatEditValue(System.Web.DynamicData.IFieldFormattingOptions,System.Object)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function FormatEditValue (formattingOptions As IFieldFormattingOptions, fieldValue As Object) As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::String ^ FormatEditValue(System::Web::DynamicData::IFieldFormattingOptions ^ formattingOptions, System::Object ^ fieldValue);" />
<MemberSignature Language="F#" Value="static member FormatEditValue : System.Web.DynamicData.IFieldFormattingOptions * obj -&gt; string" Usage="System.Web.DynamicData.DynamicDataExtensions.FormatEditValue (formattingOptions, fieldValue)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="formattingOptions" Type="System.Web.DynamicData.IFieldFormattingOptions" RefType="this" />
<Parameter Name="fieldValue" Type="System.Object" />
</Parameters>
<Docs>
<param name="formattingOptions">The <see cref="T:System.Web.DynamicData.IFieldFormattingOptions" /> instance to use.</param>
<param name="fieldValue">The field value to format.</param>
<summary>Formats the specified field value by using the specified formatting options.</summary>
<returns>The field value that has been formatted by using the specified formatting options.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.DynamicData.DynamicDataExtensions.FormatEditValue%2A> method is like the <xref:System.Web.DynamicData.DynamicDataExtensions.FormatValue%2A> method, but it is used when the field is in edit mode.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FormatValue">
<MemberSignature Language="C#" Value="public static string FormatValue (this System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string FormatValue(class System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.FormatValue(System.Web.DynamicData.IFieldFormattingOptions,System.Object)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function FormatValue (formattingOptions As IFieldFormattingOptions, fieldValue As Object) As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::String ^ FormatValue(System::Web::DynamicData::IFieldFormattingOptions ^ formattingOptions, System::Object ^ fieldValue);" />
<MemberSignature Language="F#" Value="static member FormatValue : System.Web.DynamicData.IFieldFormattingOptions * obj -&gt; string" Usage="System.Web.DynamicData.DynamicDataExtensions.FormatValue (formattingOptions, fieldValue)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="formattingOptions" Type="System.Web.DynamicData.IFieldFormattingOptions" RefType="this" />
<Parameter Name="fieldValue" Type="System.Object" />
</Parameters>
<Docs>
<param name="formattingOptions">The <see cref="T:System.Web.DynamicData.IFieldFormattingOptions" /> instance to use.</param>
<param name="fieldValue">The field value to format.</param>
<summary>Formats the specified field value by using the specified formatting options.</summary>
<returns>The field value that has been formatted by using the specified formatting options.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="GetDefaultValues">
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the default values.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetDefaultValues">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IDictionary&lt;string,object&gt; GetDefaultValues (this System.Web.UI.IDataSource dataSource);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IDictionary`2&lt;string, object&gt; GetDefaultValues(class System.Web.UI.IDataSource dataSource) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetDefaultValues(System.Web.UI.IDataSource)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetDefaultValues (dataSource As IDataSource) As IDictionary(Of String, Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IDictionary&lt;System::String ^, System::Object ^&gt; ^ GetDefaultValues(System::Web::UI::IDataSource ^ dataSource);" />
<MemberSignature Language="F#" Value="static member GetDefaultValues : System.Web.UI.IDataSource -&gt; System.Collections.Generic.IDictionary&lt;string, obj&gt;" Usage="System.Web.DynamicData.DynamicDataExtensions.GetDefaultValues dataSource" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.UI.IDataSource" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="dataSource">The data source for which to get the default values.</param>
<summary>Gets the collection of the default values for the specified data source.</summary>
<returns>The collection of default values that are associated with the <see cref="T:System.Web.UI.IDataSource" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The collection of default values is set by using the <xref:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable%2A> or <xref:System.Web.UI.DataControlExtensions.EnableDynamicData%2A> methods.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetDefaultValues">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IDictionary&lt;string,object&gt; GetDefaultValues (this System.Web.UI.INamingContainer control);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IDictionary`2&lt;string, object&gt; GetDefaultValues(class System.Web.UI.INamingContainer control) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetDefaultValues(System.Web.UI.INamingContainer)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetDefaultValues (control As INamingContainer) As IDictionary(Of String, Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IDictionary&lt;System::String ^, System::Object ^&gt; ^ GetDefaultValues(System::Web::UI::INamingContainer ^ control);" />
<MemberSignature Language="F#" Value="static member GetDefaultValues : System.Web.UI.INamingContainer -&gt; System.Collections.Generic.IDictionary&lt;string, obj&gt;" Usage="System.Web.DynamicData.DynamicDataExtensions.GetDefaultValues control" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The data control for which to get the default values.</param>
<summary>Gets the collection of the default values for the specified data control.</summary>
<returns>The collection of default values that are associated with the <see cref="T:System.Web.UI.INamingContainer" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The collection of default values is set by using the <xref:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable%2A> or <xref:System.Web.UI.DataControlExtensions.EnableDynamicData%2A> methods.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetEnumType">
<MemberSignature Language="C#" Value="public static Type GetEnumType (this System.Web.DynamicData.MetaColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Type GetEnumType(class System.Web.DynamicData.MetaColumn column) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetEnumType(System.Web.DynamicData.MetaColumn)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetEnumType (column As MetaColumn) As Type" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Type ^ GetEnumType(System::Web::DynamicData::MetaColumn ^ column);" />
<MemberSignature Language="F#" Value="static member GetEnumType : System.Web.DynamicData.MetaColumn -&gt; Type" Usage="System.Web.DynamicData.DynamicDataExtensions.GetEnumType column" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="column" Type="System.Web.DynamicData.MetaColumn" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="column">The column to get the enumeration type for.</param>
<summary>Gets the type of the enumeration that represents the column.</summary>
<returns>The type of the enumeration that represents the column if the underlying type is an enumeration; otherwise, <see langword="null" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The column represents an enumeration if the underlying type is an enumeration or if the column is annotated in the entity partial class with the <xref:System.ComponentModel.DataAnnotations.EnumDataTypeAttribute> attribute.
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="GetMetaTable">
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets metadata for a table.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetMetaTable">
<MemberSignature Language="C#" Value="public static System.Web.DynamicData.MetaTable GetMetaTable (this System.Web.UI.IDataSource dataSource);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.DynamicData.MetaTable GetMetaTable(class System.Web.UI.IDataSource dataSource) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetMetaTable(System.Web.UI.IDataSource)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetMetaTable (dataSource As IDataSource) As MetaTable" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::DynamicData::MetaTable ^ GetMetaTable(System::Web::UI::IDataSource ^ dataSource);" />
<MemberSignature Language="F#" Value="static member GetMetaTable : System.Web.UI.IDataSource -&gt; System.Web.DynamicData.MetaTable" Usage="System.Web.DynamicData.DynamicDataExtensions.GetMetaTable dataSource" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.DynamicData.MetaTable</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.UI.IDataSource" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="dataSource">The data source object for which to get the table metadata.</param>
<summary>Gets the metadata for a table in the specified data source object.</summary>
<returns>The table metadata associated with the <see cref="T:System.Web.UI.IDataSource" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The table metadata was set by using the <xref:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable%2A> or <xref:System.Web.UI.DataControlExtensions.EnableDynamicData%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetMetaTable">
<MemberSignature Language="C#" Value="public static System.Web.DynamicData.MetaTable GetMetaTable (this System.Web.UI.INamingContainer control);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.DynamicData.MetaTable GetMetaTable(class System.Web.UI.INamingContainer control) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetMetaTable(System.Web.UI.INamingContainer)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetMetaTable (control As INamingContainer) As MetaTable" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::DynamicData::MetaTable ^ GetMetaTable(System::Web::UI::INamingContainer ^ control);" />
<MemberSignature Language="F#" Value="static member GetMetaTable : System.Web.UI.INamingContainer -&gt; System.Web.DynamicData.MetaTable" Usage="System.Web.DynamicData.DynamicDataExtensions.GetMetaTable control" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.DynamicData.MetaTable</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The data control for which to get the table metadata.</param>
<summary>Gets the table metadata for the specified data control.</summary>
<returns>The table metadata that is associated with the <see cref="T:System.Web.UI.INamingContainer" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The table metadata was set by using the <xref:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable%2A> or <xref:System.Web.UI.DataControlExtensions.EnableDynamicData%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTable">
<MemberSignature Language="C#" Value="public static System.Web.DynamicData.MetaTable GetTable (this System.Web.DynamicData.IDynamicDataSource dataSource);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Web.DynamicData.MetaTable GetTable(class System.Web.DynamicData.IDynamicDataSource dataSource) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.GetTable(System.Web.DynamicData.IDynamicDataSource)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetTable (dataSource As IDynamicDataSource) As MetaTable" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Web::DynamicData::MetaTable ^ GetTable(System::Web::DynamicData::IDynamicDataSource ^ dataSource);" />
<MemberSignature Language="F#" Value="static member GetTable : System.Web.DynamicData.IDynamicDataSource -&gt; System.Web.DynamicData.MetaTable" Usage="System.Web.DynamicData.DynamicDataExtensions.GetTable dataSource" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.DynamicData.MetaTable</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.DynamicData.IDynamicDataSource" RefType="this" />
</Parameters>
<Docs>
<param name="dataSource">The data source control.</param>
<summary>Returns the <see cref="T:System.Web.DynamicData.MetaTable" /> object that is associated with the specified data source control.</summary>
<returns>The table that is associated with the specified data source control.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The <see cref="P:System.Web.DynamicData.IDynamicDataSource.EntitySetName" /> property of <paramref name="dataSource" /> is <see langword="null" />.
-or-
The <see cref="P:System.Web.DynamicData.IDynamicDataSource.ContextType" /> property of <paramref name="dataSource" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="LoadWith&lt;TEntity&gt;">
<MemberSignature Language="C#" Value="public static void LoadWith&lt;TEntity&gt; (this System.Web.UI.WebControls.LinqDataSource dataSource);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void LoadWith&lt;TEntity&gt;(class System.Web.UI.WebControls.LinqDataSource dataSource) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.LoadWith``1(System.Web.UI.WebControls.LinqDataSource)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub LoadWith(Of TEntity) (dataSource As LinqDataSource)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename TEntity&gt;&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void LoadWith(System::Web::UI::WebControls::LinqDataSource ^ dataSource);" />
<MemberSignature Language="F#" Value="static member LoadWith : System.Web.UI.WebControls.LinqDataSource -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.LoadWith dataSource" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TEntity" />
</TypeParameters>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.UI.WebControls.LinqDataSource" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<typeparam name="TEntity">The type of the entities that are returned by the data source.</typeparam>
<param name="dataSource">The LINQ data source to load the foreign keys from.</param>
<summary>Sets the <see cref="T:System.Data.Linq.DataLoadOptions" /> value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LoadWithForeignKeys">
<MemberSignature Language="C#" Value="public static void LoadWithForeignKeys (this System.Web.UI.WebControls.LinqDataSource dataSource, Type rowType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void LoadWithForeignKeys(class System.Web.UI.WebControls.LinqDataSource dataSource, class System.Type rowType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.LoadWithForeignKeys(System.Web.UI.WebControls.LinqDataSource,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub LoadWithForeignKeys (dataSource As LinqDataSource, rowType As Type)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void LoadWithForeignKeys(System::Web::UI::WebControls::LinqDataSource ^ dataSource, Type ^ rowType);" />
<MemberSignature Language="F#" Value="static member LoadWithForeignKeys : System.Web.UI.WebControls.LinqDataSource * Type -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.LoadWithForeignKeys (dataSource, rowType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.UI.WebControls.LinqDataSource" RefType="this" />
<Parameter Name="rowType" Type="System.Type" />
</Parameters>
<Docs>
<param name="dataSource">The LINQ data source to load the foreign keys from.</param>
<param name="rowType">The type of the entities that are returned by the data source.</param>
<summary>Sets the <see cref="T:System.Data.Linq.DataLoadOptions" /> value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information, see the <xref:System.Data.Linq.DataLoadOptions?displayProperty=nameWithType> class overview.
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="SetMetaTable">
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Sets the <see cref="T:System.Web.DynamicData.MetaTable" /> object.</summary>
</Docs>
</MemberGroup>
<Member MemberName="SetMetaTable">
<MemberSignature Language="C#" Value="public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetMetaTable(class System.Web.UI.INamingContainer control, class System.Web.DynamicData.MetaTable table) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable(System.Web.UI.INamingContainer,System.Web.DynamicData.MetaTable)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub SetMetaTable (control As INamingContainer, table As MetaTable)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table);" />
<MemberSignature Language="F#" Value="static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.SetMetaTable (control, table)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="table" Type="System.Web.DynamicData.MetaTable" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The <see cref="T:System.Web.UI.INamingContainer" /> object that contains the table.</param>
<param name="table">The table metadata.</param>
<summary>Sets the table metadata for the specified data control.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetMetaTable">
<MemberSignature Language="C#" Value="public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table, System.Collections.Generic.IDictionary&lt;string,object&gt; defaultValues);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetMetaTable(class System.Web.UI.INamingContainer control, class System.Web.DynamicData.MetaTable table, class System.Collections.Generic.IDictionary`2&lt;string, object&gt; defaultValues) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable(System.Web.UI.INamingContainer,System.Web.DynamicData.MetaTable,System.Collections.Generic.IDictionary{System.String,System.Object})" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub SetMetaTable (control As INamingContainer, table As MetaTable, defaultValues As IDictionary(Of String, Object))" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table, System::Collections::Generic::IDictionary&lt;System::String ^, System::Object ^&gt; ^ defaultValues);" />
<MemberSignature Language="F#" Value="static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable * System.Collections.Generic.IDictionary&lt;string, obj&gt; -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.SetMetaTable (control, table, defaultValues)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="table" Type="System.Web.DynamicData.MetaTable" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="defaultValues" Type="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;" Index="2" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The <see cref="T:System.Web.UI.INamingContainer" /> object that contains the table.</param>
<param name="table">The table metadata.</param>
<param name="defaultValues">The default value mapping.</param>
<summary>Sets the table metadata and default value mapping for the specified data control.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetMetaTable">
<MemberSignature Language="C#" Value="public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table, object defaultValues);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetMetaTable(class System.Web.UI.INamingContainer control, class System.Web.DynamicData.MetaTable table, object defaultValues) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.SetMetaTable(System.Web.UI.INamingContainer,System.Web.DynamicData.MetaTable,System.Object)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Sub SetMetaTable (control As INamingContainer, table As MetaTable, defaultValues As Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table, System::Object ^ defaultValues);" />
<MemberSignature Language="F#" Value="static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable * obj -&gt; unit" Usage="System.Web.DynamicData.DynamicDataExtensions.SetMetaTable (control, table, defaultValues)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="table" Type="System.Web.DynamicData.MetaTable" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="defaultValues" Type="System.Object" Index="2" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The <see cref="T:System.Web.UI.INamingContainer" /> object that contains the table.</param>
<param name="table">The table metadata.</param>
<param name="defaultValues">The default value mapping.</param>
<summary>Sets the table metadata and default value mapping for the specified data control.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="TryGetMetaTable">
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Determines whether table metadata is available.</summary>
</Docs>
</MemberGroup>
<Member MemberName="TryGetMetaTable">
<MemberSignature Language="C#" Value="public static bool TryGetMetaTable (this System.Web.UI.IDataSource dataSource, out System.Web.DynamicData.MetaTable table);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGetMetaTable(class System.Web.UI.IDataSource dataSource, [out] class System.Web.DynamicData.MetaTable&amp; table) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.TryGetMetaTable(System.Web.UI.IDataSource,System.Web.DynamicData.MetaTable@)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function TryGetMetaTable (dataSource As IDataSource, ByRef table As MetaTable) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool TryGetMetaTable(System::Web::UI::IDataSource ^ dataSource, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);" />
<MemberSignature Language="F#" Value="static member TryGetMetaTable : System.Web.UI.IDataSource * -&gt; bool" Usage="System.Web.DynamicData.DynamicDataExtensions.TryGetMetaTable (dataSource, table)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSource" Type="System.Web.UI.IDataSource" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="table" Type="System.Web.DynamicData.MetaTable" RefType="out" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="dataSource">The data source that contains the table.</param>
<param name="table">When this method returns, contains the table metadata. This parameter is passed uninitialized.</param>
<summary>Determines whether table metadata is available.</summary>
<returns>
<see langword="true" /> if table metadata is available; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TryGetMetaTable">
<MemberSignature Language="C#" Value="public static bool TryGetMetaTable (this System.Web.UI.INamingContainer control, out System.Web.DynamicData.MetaTable table);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGetMetaTable(class System.Web.UI.INamingContainer control, [out] class System.Web.DynamicData.MetaTable&amp; table) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.DynamicData.DynamicDataExtensions.TryGetMetaTable(System.Web.UI.INamingContainer,System.Web.DynamicData.MetaTable@)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function TryGetMetaTable (control As INamingContainer, ByRef table As MetaTable) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool TryGetMetaTable(System::Web::UI::INamingContainer ^ control, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);" />
<MemberSignature Language="F#" Value="static member TryGetMetaTable : System.Web.UI.INamingContainer * -&gt; bool" Usage="System.Web.DynamicData.DynamicDataExtensions.TryGetMetaTable (control, table)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DynamicData</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.INamingContainer" RefType="this" Index="0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="table" Type="System.Web.DynamicData.MetaTable" RefType="out" Index="1" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="control">The <see cref="T:System.Web.UI.INamingContainer" /> object that contains the table.</param>
<param name="table">When this method returns, contains the table metadata. This parameter is passed uninitialized.</param>
<summary>Determines whether table metadata is available.</summary>
<returns>
<see langword="true" /> if table metadata is available; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.