Skip to content

Commit ed7a3e9

Browse files
committed
remove broken lins
1 parent 7d6fd23 commit ed7a3e9

File tree

5 files changed

+1
-42
lines changed

5 files changed

+1
-42
lines changed

xml/System.ComponentModel.DataAnnotations/DisplayFormatAttribute.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,15 @@
5252
When you apply this attribute to a data field, you must follow the guidelines for the use of the attributes. For more information, see [ASP.NET Dynamic Data Guidelines](/previous-versions/aspnet/cc668215(v=vs.100)).
5353
5454
## Examples
55-
See an online example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.ComponentModel.DataAnnotations.DisplayFormatAttribute).
5655
57-
The following example shows how to use the <xref:System.ComponentModel.DataAnnotations.DisplayFormatAttribute> to customize formatting for a data field. The example performs the following steps:
56+
The following example shows how to use the <xref:System.ComponentModel.DataAnnotations.DisplayFormatAttribute> to customize formatting for a data field. The example performs the following steps:
5857
5958
- Implements a metadata partial class and an associated metadata class.
6059
6160
- In the associated metadata class, it applies the <xref:System.ComponentModel.DataAnnotations.DisplayFormatAttribute> attribute to specify the following results:
6261
6362
- Display the text "[Null]" when a data field is empty.
64-
6563
- Display currency data in locale specific currency format.
66-
6764
- Display date information in short format (mm/dd/yy). This format also applies in edit mode.
6865
6966
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.ComponentModel.DataAnnotations.DisplayFormatAttribute/CS/product.cs" id="Snippet1":::
@@ -72,9 +69,7 @@
7269
To compile the example, you need the following:
7370
7471
- Any edition of Visual Studio 2010 or later.
75-
7672
- The AdventureWorksLT sample database. For information about how to download and install the SQL Server sample database, see [Microsoft SQL Server Product Samples: Database](https://github.com/Microsoft/sql-server-samples/releases) on GitHub. Make sure that you install the correct version of the sample database for the version of SQL Server that you are running.
77-
7873
- A data-driven Web site. This enables you to create a data context for the database and the class that contains the data field to customize. For more information, see `Walkthrough: Creating a New Dynamic Data Web Site using Scaffolding`.
7974
8075
]]></format>

xml/System.Web.DynamicData/DynamicControl.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@
102102
</asp:DynamicControl>
103103
```
104104
105-
106-
107105
## Examples
108-
See a run-time code example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.DynamicControl).
109106
110107
The following example demonstrates how to use the <xref:System.Web.DynamicData.DynamicControl> control in a <xref:System.Web.UI.WebControls.ListView> control to display, insert, delete and edit values from a database table. It is important to notice that in order to make the insert operation to work, the <xref:System.Data.Linq.Mapping.ColumnAttribute.IsDbGenerated%2A> property of the `rowguid` and `ModifiedDate` columns are set to `true`.
111108
@@ -844,10 +841,7 @@
844841
845842
The field template that you specify using the <xref:System.Web.DynamicData.DynamicControl.UIHint%2A> property is specific to this instance of the <xref:System.Web.DynamicData.DynamicControl> control. You can also change the field template used by a data field across the entire application by applying the <xref:System.ComponentModel.DataAnnotations.UIHintAttribute> to your data model. Setting the <xref:System.Web.DynamicData.DynamicControl.UIHint%2A> property overrides the metadata applied to the data model. For more information about metadata attributes, see [ASP.NET Dynamic Data](https://msdn.microsoft.com/library/78c7fcd7-5f38-46a0-a4bc-48eff3c8a512).
846843
847-
848-
849844
## Examples
850-
See a run-time code example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.DynamicControl.UIHint).
851845
852846
The following example shows how you can specify a data field to use a different field template to render its contents. The second example shows the custom field template specified by the <xref:System.Web.DynamicData.DynamicControl.UIHint%2A> property.
853847

xml/System.Web.DynamicData/DynamicField.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,7 @@
158158
<asp:DynamicField />
159159
```
160160
161-
162-
163161
## Examples
164-
See a run-time code example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.DynamicField).
165162
166163
The following example demonstrates how to use the <xref:System.Web.DynamicData.DynamicField> object in a <xref:System.Web.UI.WebControls.GridView> control to display and edit values from a database table.
167164

xml/System.Web.DynamicData/DynamicQueryStringParameter.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
3131
In order to use the <xref:System.Web.DynamicData.DynamicQueryStringParameter> class, you must add a <xref:System.Web.DynamicData.DynamicDataManager> control to the page and you must register the data-bound control with the <xref:System.Web.DynamicData.DynamicDataManager> control by using the <xref:System.Web.DynamicData.DynamicDataManager.RegisterControl%2A?displayProperty=nameWithType> method.
3232
33-
See a run-time code example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.DynamicQueryStringParameter).
34-
35-
36-
3733
## Examples
3834
The following example shows how to use the <xref:System.Web.DynamicData.DynamicQueryStringParameter> object as filter when displaying data in a <xref:System.Web.UI.WebControls.GridView> control. The <xref:System.Web.UI.WebControls.GridView> control contains a <xref:System.Web.UI.WebControls.TemplateField> object that creates a link that sets the query string value by using the foreign key value.
3935

xml/System.Web.DynamicData/MetaModel.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@
2626
2727
In Visual Studio, you can generate data-model types by using the **LINQ to SQL Classes** template or the **ADO.NET Entity Data Model** template. These templates use the Object Relational Designer (O/R Designer) for the LINQ to SQL model, or the ADO.NET Entity Data Model Designer (Entity Designer) for the Entity Framework model.
2828
29-
30-
3129
## Examples
3230
The following example shows how to use <xref:System.Web.DynamicData.MetaModel> type to perform the following tasks in order to use automatic scaffolding in an ASP.NET Web site:
3331
3432
- Get the data model for the default data context.
35-
3633
- Get the data model for a specified data context.
37-
3834
- Evaluate the routing path (determine the URL) for a specified table.
3935
4036
The example consists of a page and its code-behind file.
@@ -50,11 +46,8 @@
5046
To compile the example, you need the following:
5147
5248
- Visual Studio 2010 or Visual Web Developer 2010 Express.
53-
5449
- A Dynamic Data Web site. For more information, see [Walkthrough: Creating a New Dynamic Data Web Site Using Scaffolding](https://msdn.microsoft.com/library/1564aef2-9103-436a-9806-c8ad7abd616a).
5550
56-
See a run-time code example of this feature: [Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.MetaModel).
57-
5851
]]></format>
5952
</remarks>
6053
<exception cref="T:System.InvalidOperationException">Can be thrown by any method if there has been a data context registration error.</exception>
@@ -362,10 +355,6 @@
362355
## Remarks
363356
The route is determined by the combination of the table name and action.
364357
365-
[Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.MetaModel&spage=PathModel.aspx) an online example of this feature.
366-
367-
368-
369358
## Examples
370359
The following example shows how to use the <xref:System.Web.DynamicData.MetaModel.GetActionPath%28System.String%2CSystem.String%2CSystem.Object%29> method to evaluate the routing path (determine the URL) for a specified table. For a complete example, see <xref:System.Web.DynamicData.MetaModel>.
371360
@@ -432,15 +421,10 @@
432421
## Remarks
433422
The <xref:System.Web.DynamicData.MetaTable> object that is returned by the overloaded methods contains the metadata information that is associated with the specified table.
434423
435-
[Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.MetaModel&spage=GetTable.aspx) an online example of this feature.
436-
437-
438-
439424
## Examples
440425
The following example shows how to use the <xref:System.Web.DynamicData.MetaModel.GetTable%2A> overloaded methods to perform the following tasks:
441426
442427
- Get the <xref:System.Web.DynamicData.MetaTable> object for the specified table.
443-
444428
- Access the metadata information that is contained by the <xref:System.Web.DynamicData.MetaTable> object.
445429
446430
The example consists of a page and its code-behind file.
@@ -485,8 +469,6 @@
485469
## Remarks
486470
The name uniquely identifies a table in the data model and is used to generate the related URL for routing.
487471
488-
489-
490472
## Examples
491473
The following example shows how to use the <xref:System.Web.DynamicData.MetaModel.GetTable%28System.String%29> method to obtain the metadata for the specified table. For a complete example, see <xref:System.Web.DynamicData.MetaModel.GetTable%2A>.
492474
@@ -866,15 +848,10 @@
866848
## Remarks
867849
The collection contains all the tables in the data model, which includes the tables that are not visible (are not part of Dynamic Data scaffolding).
868850
869-
[Run](https://go.microsoft.com/fwlink/?LinkId=120736&sref=System.Web.DynamicData.MetaModel&spage=TablesMenu.aspx) an online example of this feature.
870-
871-
872-
873851
## Examples
874852
The following example shows how to use the <xref:System.Web.DynamicData.MetaModel.Tables%2A> and <xref:System.Web.DynamicData.MetaModel.VisibleTables%2A> properties to perform the following tasks:
875853
876854
- Get a collection of all the tables in a data model and show them in a `GridView` control.
877-
878855
- Get a collection of the visible tables in a data model and show them in a `GridView` control.
879856
880857
The example consists of a page and its code-behind file.

0 commit comments

Comments
 (0)