Skip to content

Commit e9d1018

Browse files
authored
Merge pull request #2384 from MicrosoftDocs/master
6/28 AM Publish
2 parents 0bf2aff + e89ab28 commit e9d1018

File tree

58 files changed

+541
-794
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+541
-794
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@
120120
},
121121
"need_generate_pdf": false,
122122
"need_generate_intellisense": false
123-
}
123+
}

.openpublishing.redirection.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@
330330
"redirect_url": "https://github.com/microsoft/sql-server-samples/releases/tag/wide-world-importers-v1.0",
331331
"redirect_document_id": false
332332
},
333+
{
334+
"source_path": "docs/data-tools/saving-data.md",
335+
"redirect_url": "/visualstudio/data-tools/save-data-back-to-the-database",
336+
"redirect_document_id": false
337+
},
333338
{
334339
"source_path": "docs/debugger/0x-2x-4x-msaa-variants.md",
335340
"redirect_url": "/visualstudio/debugger/graphics/0x-2x-4x-msaa-variants",
@@ -1254,6 +1259,21 @@
12541259
"redirect_url": "/visualstudio/ide/class-designer/working-with-visual-cpp-code",
12551260
"redirect_document_id": false
12561261
},
1262+
{
1263+
"source_path": "docs/ide/how-to-disable-the-hosting-process.md",
1264+
"redirect_url": "/visualstudio/debugger/debugger-settings-and-preparation",
1265+
"redirect_document_id": false
1266+
},
1267+
{
1268+
"source_path": "docs/ide/hosting-process-vshost-exe.md",
1269+
"redirect_url": "/visualstudio/debugger/debugger-settings-and-preparation",
1270+
"redirect_document_id": false
1271+
},
1272+
{
1273+
"source_path": "docs/ide/reference/project-and-solution-file-types.md",
1274+
"redirect_url": "/visualstudio/ide/solutions-and-projects-in-visual-studio",
1275+
"redirect_document_id": false
1276+
},
12571277
{
12581278
"source_path": "docs/install/index.md",
12591279
"redirect_url": "/visualstudio/install/install-visual-studio",
@@ -5399,7 +5419,7 @@
53995419
"source_path": "scripting-docs/javascript/reference/at-set-statement-javascript.md",
54005420
"redirect_url": "https://developer.mozilla.org/docs/Web/JavaScript/Microsoft_JavaScript_extensions/at-set",
54015421
"redirect_document_id": false
5402-
},
5422+
},
54035423
{
54045424
"source_path": "docs/cross-platform/visual-studio-tools-for-unity-azure-configure.md",
54055425
"redirect_url": "/sandbox/gamedev/unity/samples/azure-mobile-apps-unity-racer",

b362ae64-b1c1-4f4d-a0af-76fe2cfdbd70/TOC.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

b362ae64-b1c1-4f4d-a0af-76fe2cfdbd70/breadcrumb/toc.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

b362ae64-b1c1-4f4d-a0af-76fe2cfdbd70/docfx.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

b362ae64-b1c1-4f4d-a0af-76fe2cfdbd70/index.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/data-tools/additional-resources-for-troubleshooting-data-access-errors.md

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Additional resources for troubleshooting data access errors
3-
ms.date: 11/04/2016
2+
title: Data access forums
3+
ms.date: 06/27/2018
44
ms.topic: troubleshooting
55
f1_keywords:
66
- "DSD_ImportXmlSchemaSameFileWrnHelpId"
@@ -222,38 +222,30 @@ ms.assetid: 357c9f0a-9d59-4db4-9b7c-b96cad839961
222222
author: gewarren
223223
ms.author: gewarren
224224
manager: douge
225-
robots: noindex,nofollow
226225
ms.prod: visual-studio-dev15
227226
ms.technology: vs-data-tools
228227
ms.workload:
229228
- "data-storage"
230229
---
231-
# Additional resources for troubleshooting data access errors
230+
# Troubleshoot data access errors on the forums
232231

233-
You can find assistance with troubleshooting errors and warnings in the Microsoft Developer Network (MSDN) public forums. The following table lists the data-related forums available on MSDN.
232+
You can find assistance with troubleshooting errors and warnings in the Microsoft Developer Network (MSDN) public forums. Here are some data-related forums available on MSDN:
234233

235-
[Windows forms data controls and databinding](http://go.microsoft.com/fwlink/?LinkId=160179)
236-
Provides a forum for questions about and general discussions of data access in Windows Forms.
234+
- [Windows Forms data controls and databinding](https://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winformsdatacontrols)
237235

238-
[ADO.NET DataSet forum](http://go.microsoft.com/fwlink/?LinkId=160180)
239-
Provides a forum for questions about and general discussions of Datasets.
236+
- [ADO.NET DataSet forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=adodotnetdataset)
240237

241-
[ADO.NET entity framework and LINQ to entities](http://go.microsoft.com/fwlink/?LinkId=191520)
242-
Provides a forum for questions about and general discussions of Entity Framework applications and the LINQ to Entities language.
238+
- [ADO.NET Entity Framework and LINQ to Entities](https://social.msdn.microsoft.com/Forums/en-US/home?forum=adodotnetentityframework)
243239

244-
[WCF data services forum](http://go.microsoft.com/fwlink/?LinkId=160181)
245-
Provides a forum for questions about and general discussions of data services.
240+
- [WCF data services forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=adodotnetdataservices)
246241

247-
[SQL Server data access forum](http://go.microsoft.com/fwlink/?LinkID=160184)
248-
Provides a forum for questions about and general discussions of accessing data in Microsoft SQL Server.
242+
- [SQL Server data access forum](https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqldataaccess)
249243

250-
[LINQ to SQL forum](http://go.microsoft.com/fwlink/?LinkId=160183)
251-
Provides a forum for questions about and general discussions of LINQ to SQL.
244+
- [LINQ to SQL forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=linqtosql)
252245

253-
[ADO.NET data providers forum](http://go.microsoft.com/fwlink/?LinkId=160182)
254-
Provides a forum for questions about and general discussions of the different .NET Framework Data Providers.
246+
- [ADO.NET data providers forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=adodotnetdataproviders)
255247

256-
For information about how to troubleshoot connectivity to SQL Server, see [How to troubleshoot connecting to the SQL Server database engine](http://go.microsoft.com/fwlink/?LinkID=246151).
248+
For information about how to troubleshoot connectivity to SQL Server, see [Troubleshoot connecting to the SQL Server database engine](https://social.technet.microsoft.com/wiki/contents/articles/2102.how-to-troubleshoot-connecting-to-the-sql-server-database-engine.aspx).
257249

258250
## See also
259251

docs/data-tools/how-to-add-update-or-remove-a-wcf-data-service-reference.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ ms.technology: vs-data-tools
1717
ms.workload:
1818
- "data-storage"
1919
---
20-
# How to: Add, Update, or Remove a WCF Data Service Reference
20+
# How to: Add, update, or remove a WCF data service reference
2121
A *service reference* enables a project to access one or more [!INCLUDE[ssAstoria](../data-tools/includes/ssastoria_md.md)]. Use the **Add Service Reference** dialog box to search for [!INCLUDE[ssAstoria](../data-tools/includes/ssastoria_md.md)] in the current solution, locally, on a local area network, or on the Internet.
2222

2323
[!INCLUDE[note_settings_general](../data-tools/includes/note_settings_general_md.md)]
2424

25-
## Adding a Service Reference
25+
## Add a service reference
2626

27-
#### To add a reference to an external service
27+
### To add a reference to an external service
2828

29-
1. In **Solution Explorer**, right-click the name of the project that you want to add the service to, and then click **Add Service Reference**.
29+
1. In **Solution Explorer**, right-click the name of the project to which you want to add the service, and then click **Add Service Reference**.
3030

3131
The **Add Service Reference** dialog box appears.
3232

@@ -37,19 +37,19 @@ A *service reference* enables a project to access one or more [!INCLUDE[ssAstori
3737
3838
You can also select the URL from the **Address** list, which stores the previous 15 URLs at which valid service metadata was found.
3939

40-
A progress bar is displayed when the search is being performed. You can stop the search at any time by clicking **Stop**.
40+
A progress bar displays when the search is being performed. You can stop the search at any time by clicking **Stop**.
4141

4242
3. In the **Services** list, expand the node for the service that you want to use and select an entity set.
4343

4444
4. In the **Namespace** box, enter the namespace that you want to use for the reference.
4545

4646
5. Click **OK** to add the reference to the project.
4747

48-
A service client (proxy) is generated, and metadata that describes the service is added to the app.config file.
48+
A service client (proxy) is generated, and metadata that describes the service is added to the *app.config* file.
4949

50-
#### To add a reference to a service in the current solution
50+
### To add a reference to a service in the current solution
5151

52-
1. In **Solution Explorer**, right-click the name of the project that you want to add the service to, and then click **Add Service Reference**.
52+
1. In **Solution Explorer**, right-click the name of the project to which you want to add the service, and then click **Add Service Reference**.
5353

5454
The **Add Service Reference** dialog box appears.
5555

@@ -63,29 +63,29 @@ A *service reference* enables a project to access one or more [!INCLUDE[ssAstori
6363

6464
5. Click **OK** to add the reference to the project.
6565

66-
A service client (proxy) is generated, and metadata that describes the service is added to the app.config file.
66+
A service client (proxy) generates, and metadata that describes the service is added to the *app.config* file.
6767

68-
## Updating a Service Reference
69-
The Entity Data Model for a [!INCLUDE[ssAstoria](../data-tools/includes/ssastoria_md.md)] will sometimes change. When this happens, the service reference must be updated.
68+
## Update a service reference
69+
The Entity Data Model for a [!INCLUDE[ssAstoria](../data-tools/includes/ssastoria_md.md)] sometimes changes. When this happens, you must update the service reference.
7070

71-
#### To update a service reference
71+
### To update a service reference
7272

7373
- In **Solution Explorer**, right-click the service reference and then click **Update Service Reference**.
7474

75-
A progress dialog box is displayed while the reference is updated from its original location, and the service client is regenerated to reflect any changes in the metadata.
75+
A progress dialog box displays while the reference is updated from its original location, and the service client is regenerated to reflect any changes in the metadata.
7676

77-
## Removing a Service Reference
77+
## Remove a service reference
7878
If a service reference is no longer being used, you can remove it from your solution.
7979

80-
#### To remove a service reference
80+
### To remove a service reference
8181

8282
- In **Solution Explorer**, right-click the service reference and then click **Delete**.
8383

84-
The service client will be removed from the solution, and the metadata that describes the service will be removed from the app.config file.
84+
The service client will be removed from the solution, and the metadata that describes the service will be removed from the *app.config* file.
8585

8686
> [!NOTE]
87-
> Any code that references the service reference will have to be removed manually.
87+
> Any code that references the service reference must be removed manually.
8888
8989
## See also
9090

91-
- [Windows Communication Foundation Services and WCF Data Services in Visual Studio](../data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md)
91+
- [Windows Communication Foundation Services and WCF data services in Visual Studio](../data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md)

docs/data-tools/how-to-add-validation-to-entity-classes.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ ms.workload:
1717
# How to: Add validation to entity classes
1818
*Validating* entity classes is the process of confirming that the values entered into data objects comply with the constraints in an object's schema, and also to the rules established for the application. Validating data before you send updates to the underlying database is a good practice that reduces errors. It also reduces the potential number of round trips between an application and the database.
1919

20-
The [LINQ to SQL Tools in Visual Studio](../data-tools/linq-to-sql-tools-in-visual-studio2.md) provides partial methods that enable users to extend the designer-generated code that runs during Inserts, Updates, and Deletes of complete entities, and also during and after individual column changes.
20+
The [LINQ to SQL tools in Visual Studio](../data-tools/linq-to-sql-tools-in-visual-studio2.md) provides partial methods that enable users to extend the designer-generated code that runs during Inserts, Updates, and Deletes of complete entities, and also during and after individual column changes.
2121

2222
> [!NOTE]
23-
> This topic provides the basic steps for adding validation to entity classes by using the [!INCLUDE[vs_ordesigner_short](../data-tools/includes/vs_ordesigner_short_md.md)]. Because it might be difficult to follow these generic steps without referring to a specific entity class, a walkthrough that uses actual data has been provided.
23+
> This topic provides the basic steps for adding validation to entity classes by using the **O/R Designer**. Because it might be difficult to follow these generic steps without referring to a specific entity class, a walkthrough that uses actual data is provided.
2424
25-
## Adding Validation for Changes to the Value in a Specific Column
26-
This procedure shows how to validate data when the value in a column changes. Because the validation is performed inside the class definition (instead of in the user interface) an exception is thrown if the value causes validation to fail. Implement error handling for the code in your application that attempts to change the column values.
25+
## Add validation for changes to the value in a specific column
26+
This procedure shows how to validate data when the value in a column changes. Because the validation is performed inside the class definition (instead of in the user interface), an exception is thrown if the value causes validation to fail. Implement error handling for the code in your application that attempts to change the column values.
2727

2828
[!INCLUDE[note_settings_general](../data-tools/includes/note_settings_general_md.md)]
2929

30-
#### To validate data during a column's value change
30+
### To validate data during a column's value change
3131

32-
1. Open or create a new LINQ to SQL Classes file (**.dbml** file) in the [!INCLUDE[vs_ordesigner_short](../data-tools/includes/vs_ordesigner_short_md.md)]. (Double-click the **.dbml** file in **Solution Explorer**.)
32+
1. Open or create a new LINQ to SQL Classes file (**.dbml** file) in the **O/R Designer**. (Double-click the **.dbml** file in **Solution Explorer**.)
3333

34-
2. In the O/R Designer, right-click the class for which you want to add validation and then click **View Code**.
34+
2. In the **O/R Designer**, right-click the class for which you want to add validation and then click **View Code**.
3535

3636
The Code Editor opens with a partial class for the selected entity class.
3737

@@ -67,17 +67,17 @@ ms.workload:
6767
}
6868
```
6969

70-
## Adding Validation for Updates to an Entity Class
70+
## Add Validation for Updates to an Entity Class
7171
In addition to checking values during changes, you can also validate data when an attempt is made to update a complete entity class. Validation during an attempted update enables you to compare values in multiple columns if business rules require this. The following procedure shows how to validate when an attempt is made to update a complete entity class.
7272

7373
> [!NOTE]
7474
> Validation code for updates to complete entity classes is executed in the partial <xref:System.Data.Linq.DataContext> class (instead of in the partial class of a specific entity class).
7575

76-
#### To validate data during an update to an entity class
76+
### To validate data during an update to an entity class
7777

78-
1. Open or create a new LINQ to SQL Classes file (**.dbml** file) in the [!INCLUDE[vs_ordesigner_short](../data-tools/includes/vs_ordesigner_short_md.md)]. (Double-click the **.dbml** file in **Solution Explorer**.)
78+
1. Open or create a new LINQ to SQL Classes file (**.dbml** file) in the **O/R Designer**. (Double-click the **.dbml** file in **Solution Explorer**.)
7979

80-
2. Right-click an empty area on the O/R Designer and click **View Code**.
80+
2. Right-click an empty area on the **O/R Designer** and click **View Code**.
8181

8282
The Code Editor opens with a partial class for the `DataContext`.
8383

@@ -102,7 +102,7 @@ ms.workload:
102102

103103
For C# projects:
104104

105-
Because C# projects do not automatically generate event handlers, you can use IntelliSense to create the partial `UpdateCLASSNAME` method. Type `partial` and then a space to access the list of available partial methods. Click the update method for the class you want to add validation for. The following code resembles the code that is generated when you select an `UpdateCLASSNAME` partial method:
105+
Because C# projects do not automatically generate event handlers, you can use IntelliSense to create the partial `UpdateCLASSNAME` method. Type `partial` and then a space to access the list of available partial methods. Click the update method for the class on which you want to add validation. The following code resembles the code that is generated when you select an `UpdateCLASSNAME` partial method:
106106

107107
```csharp
108108
partial void UpdateCLASSNAME(CLASSNAME instance)
@@ -117,6 +117,6 @@ ms.workload:
117117

118118
## See also
119119

120-
- [LINQ to SQL Tools in Visual Studio](../data-tools/linq-to-sql-tools-in-visual-studio2.md)
121-
- [Validating Data](../data-tools/validate-data-in-datasets.md)
120+
- [LINQ to SQL tools in Visual Studio](../data-tools/linq-to-sql-tools-in-visual-studio2.md)
121+
- [Validating data](../data-tools/validate-data-in-datasets.md)
122122
- [LINQ to SQL (.NET Framework)](/dotnet/framework/data/adonet/sql/linq/index)

0 commit comments

Comments
 (0)