Skip to content

Repo sync for protected branch #10380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f4cb04d
Update command-line shell article
Mikejo5000 Aug 23, 2024
76b880d
edits
Mikejo5000 Aug 23, 2024
0fb2865
metadata update
Mikejo5000 Aug 23, 2024
7948262
Copilot learning hub - apply ms.custom value to track linked content …
Aug 28, 2024
a1eca74
status
openpublishbuild Sep 2, 2024
0b317c1
status
openpublishbuild Sep 2, 2024
b4e64d0
status
openpublishbuild Sep 2, 2024
7a9dc23
status
openpublishbuild Sep 2, 2024
92cc580
status
openpublishbuild Sep 2, 2024
d6fabf4
status
openpublishbuild Sep 2, 2024
a2b14e9
Revise article on isolating a performance issue as a case study
Mikejo5000 Sep 3, 2024
320e98c
edits
Mikejo5000 Sep 3, 2024
0fe6eae
edits
Mikejo5000 Sep 3, 2024
bdd5ff5
edits
Mikejo5000 Sep 4, 2024
87e0aa1
edits
Mikejo5000 Sep 4, 2024
49c714d
tweak
Mikejo5000 Sep 4, 2024
cf6eae1
tweak
Mikejo5000 Sep 4, 2024
1cc2461
Merge pull request #13005 from MicrosoftDocs/mikejo-br23
v-shils Sep 4, 2024
dc6df80
Merge pull request #13000 from MicrosoftDocs/learn-build-service-prod…
prmerger-automator[bot] Sep 4, 2024
e211b93
tweak
Mikejo5000 Sep 4, 2024
7a16347
Merge pull request #12998 from MicrosoftDocs/learn-build-service-prod…
AnnaMHuff Sep 4, 2024
780dea8
Merge pull request #12999 from MicrosoftDocs/learn-build-service-prod…
AnnaMHuff Sep 4, 2024
5d00f65
Merge pull request #13002 from MicrosoftDocs/learn-build-service-prod…
AnnaMHuff Sep 4, 2024
7071f21
Merge pull request #13001 from MicrosoftDocs/learn-build-service-prod…
AnnaMHuff Sep 4, 2024
88ad3cb
Add content for debugging async exceptions
Mikejo5000 Sep 4, 2024
187ba0f
edits
Mikejo5000 Sep 4, 2024
0b43faa
Merge pull request #12997 from MicrosoftDocs/learn-build-service-prod…
JamesJBarnett Sep 4, 2024
cb0c7e9
Merge pull request #12988 from MicrosoftDocs/84356520-c700-4553-8b6d-…
ghogen Sep 4, 2024
b03026f
fixed art link
Mikejo5000 Sep 4, 2024
eac7f07
typo
TylerMSFT Sep 4, 2024
9a897c6
PR Merger edits
Mikejo5000 Sep 4, 2024
30ba593
Update docs/debugger/exception-helper.md
Sep 4, 2024
068fe62
Merge pull request #13008 from MicrosoftDocs/mikejo-br24
Sep 4, 2024
a1db749
Merge pull request #13010 from TylerMSFT/outputwindow
prmerger-automator[bot] Sep 4, 2024
fd867a9
Merged main into live
mijacobs Sep 5, 2024
556ef26
Merging changes synced from https://github.com/MicrosoftDocs/visualst…
Sep 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/data-tools/add-new-data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ For detailed instructions to complete the wizard, see [Create and configure data

When your configuration uses Entity Framework, you first create your Entity classes and then use the **Data Source Configuration Wizard** to create the data source.

Follow these steps to create an Entity Framework model as a data source with the **Entity Data Model Wizard**:
Follow these steps to create an Entity Framework model as a data source with the **Entity Data Model Wizard**:

1. Select **Project** > **Add New Item**. The **Add New Item** dialog opens.

Expand All @@ -114,11 +114,11 @@ Follow these steps to create an Entity Framework model as a data source with the
1. In the wizard, choose the method to generate the Entity Framework model:

- **EF Designer from database**: Creates a model in the Entity Framework Designer based on an existing database. You can choose the database connection, settings for the model, and database objects to include in the model. The classes your application interacts with are generated from the model.

- **Empty EF Designer model**: Creates an empty model in the Entity Framework Designer as a starting point for visually designing your model. Later, you can generate a database from your model. The classes your application interacts with are generated from the model.
- **Empty Code First model**: Creates an empty [Code First](https://entityframeworkcore.com/approach-code-first) model as a starting point for designing your model by using code. Later, you can generate a database from your model.

- **Empty Code First model**: Creates an empty [Code First](https://entityframeworkcore.com/approach-code-first) model as a starting point for designing your model by using code. Later, you can generate a database from your model.

- **Code First from database**: Creates a Code First model based on an existing database. You can choose the database connection, settings for the model, and database objects to include in the model.

:::image type="content" source="./media/raddata-entity-data-model-wizard.png" border="false" alt-text="Screenshot that shows the options for generating the new model in the Entity Data Model wizard.":::
Expand All @@ -132,7 +132,7 @@ Follow these steps to create an Entity Framework model as a data source with the
1. After you generate classes for the model, you can create a data source from an object with the **Data Source Configuration Wizard**.

- Select the tables (or individual columns), stored procedures, functions, and views from the model for use in the dataset.

:::image type="content" source="./media/raddata-data-source-configuration-wizard-with-entity-classes.png" alt-text="Screenshot that shows the generated Entity classes for the model in the Data Source Configuration Wizard.":::

For detailed instructions, see [Create data source from object](#create-data-source-from-object).
Expand Down Expand Up @@ -182,7 +182,7 @@ Follow these steps to create a data source from an object:
The tree view contains nodes for your project and for assemblies and other projects referenced by your project.

1. To bind to an object in an assembly or project that doesn't appear in the tree view, select **Add Reference**.

1. Use the **Reference Manager** dialog to add a reference to the assembly or project. After you add the reference, Visual Studio adds the assembly or project to the tree view.

> [!NOTE]
Expand Down
6 changes: 3 additions & 3 deletions docs/data-tools/insert-new-records-into-a-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ There are different approaches for inserting records into a database based on yo
| Scenario | Approach | Notes |
| --- | --- | --- |
| App uses *datasets* to store data | Use the [TableAdapter.Update](#insert-new-records-with-tableadapterupdate-method) method to send all changes to the database | Changes include updates, insertions, and deletions. |
| App uses *objects* to store data | Use the [TableAdapter.Insert](#insert-new-records-with-tableadapterinsert-method) method to insert new records into the database | This approach enables you to have finer control over creating new records. |
| App uses TableAdapters, `Insert` method not available | Set the TableAdapter `GenerateDBDirectMethods` property to `true` from within the **Dataset Designer** and save the dataset to regenerate the TableAdapter | If your TableAdapter doesn't have an `Insert` method, the TableAdapter is either configured to use stored procedures or the `GenerateDBDirectMethods` property is set to `false`. <br> If the `Insert` method remains unavailable after regenerating the TableAdapter, the table probably doesn't provide enough schema information to distinguish between individual rows (for example, there might be no primary key set on the table). |
| App doesn't use TableAdapters | Use [command objects](#insert-new-records-with-command-objects) to insert new records into the database | Example: <xref:System.Data.SqlClient.SqlCommand> |
| App uses *objects* to store data | Use the [TableAdapter.Insert](#insert-new-records-with-tableadapterinsert-method) method to insert new records into the database | This approach enables you to have finer control over creating new records. |
| App uses TableAdapters, `Insert` method not available | Set the TableAdapter `GenerateDBDirectMethods` property to `true` from within the **Dataset Designer** and save the dataset to regenerate the TableAdapter | If your TableAdapter doesn't have an `Insert` method, the TableAdapter is either configured to use stored procedures or the `GenerateDBDirectMethods` property is set to `false`. <br> If the `Insert` method remains unavailable after regenerating the TableAdapter, the table probably doesn't provide enough schema information to distinguish between individual rows (for example, there might be no primary key set on the table). |
| App doesn't use TableAdapters | Use [command objects](#insert-new-records-with-command-objects) to insert new records into the database | Example: <xref:System.Data.SqlClient.SqlCommand> |

## Insert new records by using TableAdapters

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range."
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
title: "IDiaSession::findILOffsetsByAddr"
ms.date: "07/22/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findILOffsetsByAddr

Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified relative virtual address (RVA) range."
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified relative virtual address (RVA) range.
title: "IDiaSession::findILOffsetsByRVA"
ms.date: "07/22/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findILOffsetsByRVA

Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
Expand Down Expand Up @@ -69,4 +70,4 @@ IDiaEnumLineNumbers* GetLineNumbersByAddr(IDiaSymbol *pFunc,

- [`IDiaEnumLineNumbers`](../../debugger/debug-interface-access/idiaenumlinenumbers.md)
- [`IDiaSession`](../../debugger/debug-interface-access/idiasession.md)
- [`IDiaSession::findILOffsetsByRVA`](../../debugger/debug-interface-access/idiasession-findlinesbyrva.md)
- [`IDiaSession::findILOffsetsByRVA`](../../debugger/debug-interface-access/idiasession-findlinesbyrva.md)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified virtual address (VA) range."
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified virtual address (VA) range.
title: "IDiaSession::findILOffsetsByVA"
ms.date: "07/22/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findILOffsetsByVA

Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process."
description: Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process.
title: "IDiaSession::findInjectedSource"
ms.date: "11/04/2016"
ms.topic: "reference"
Expand All @@ -12,14 +12,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInjectedSource

Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process.

## Syntax

```C++
HRESULT findInjectedSource ( 
HRESULT findInjectedSource (
LPCOLESTR srcFile,
IDiaEnumInjectedSources** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol."
description: Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol.
title: "IDiaSession::findInlineeLines"
ms.date: "11/04/2016"
ms.topic: "reference"
Expand All @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineeLines

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol.

## Syntax

```C++
HRESULT findInlineeLines ( 
HRESULT findInlineeLines (
IDiaSymbol* parent,
IDiaEnumLineNumbers** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineeLinesByAddr

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol and are contained within the specified address range.

## Syntax

```C++
HRESULT findInlineeLinesByAddr ( 
HRESULT findInlineeLinesByAddr (
IDiaSymbol* parent, DWORD isect, DWORD offset, DWORD length,
IDiaEnumLineNumbers** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, in the specified source file and line number."
description: Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, in the specified source file and line number.
title: "IDiaSession::findInlineeLinesByLinenum"
ms.date: "11/04/2016"
ms.topic: "reference"
Expand All @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineeLinesByLinenum

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, in the specified source file and line number.

## Syntax

```C++
HRESULT findInlineeLinesByVA ( 
HRESULT findInlineeLinesByVA (
IDiaSymbol* compiland,
IDiaSourceFile* file,
DWORD linenum,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineeLinesByRVA

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol and are contained within the specified relative virtual address (RVA).

## Syntax

```C++
HRESULT findInlineeLinesByRVA ( 
HRESULT findInlineeLinesByRVA (
IDiaSymbol* parent,
DWORD rva,
DWORD length,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineeLinesByVA

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, by the specified parent symbol and are contained within the specified virtual address (VA).

## Syntax

```C++
HRESULT findInlineeLinesByVA ( 
HRESULT findInlineeLinesByVA (
IDiaSymbol* parent, ULONGLONG va, DWORD length,
IDiaEnumLineNumbers** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name."
description: Retrieves an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name.
title: "IDiaSession::findInlineesByName"
ms.date: "11/04/2016"
ms.topic: "reference"
Expand All @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineesByName

Retrieves an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name.

## Syntax

```C++
HRESULT findInlineesByName ( 
HRESULT findInlineesByName (
LPCOLESTR name,
DWORD option,
IDiaEnumLineNumbers** ppResult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineFramesByAddr

Retrieves an enumeration that allows a client to iterate through all of the inline frames on a given address.

## Syntax

```C++
HRESULT findInlineFramesByAddr ( 
HRESULT findInlineFramesByAddr (
IDiaSymbol* parent, DWORD isect,
DWORD offset,
IDiaEnumSymbols** ppResult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineFramesByRVA

Retrieves an enumeration that allows a client to iterate through all of the inline frames on a specified relative virtual address (RVA).

## Syntax

```C++
HRESULT findInlineFramesByRVA ( 
HRESULT findInlineFramesByRVA (
IDiaSymbol* parent, DWORD rva,
IDiaEnumSymbols** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ ms.author: "mikejo"
manager: mijacobs
ms.subservice: debug-diagnostics
---

# IDiaSession::findInlineFramesByVA

Retrieves an enumeration that allows a client to iterate through all of the inline frames on a specified virtual address (VA).

## Syntax

```C++
HRESULT findInlineFramesByVA ( 
HRESULT findInlineFramesByVA (
IDiaSymbol* parent, ULONGLONG va,
IDiaEnumSymbols** ppResult
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves a .NET Native input assembly file by index."
description: Retrieves a .NET Native input assembly file by index.
title: "IDiaSession::findInputAssembly"
ms.date: "07/04/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findInputAssembly

Retrieves a .NET Native input assembly file by index.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves a .NET Native input assembly file by unique identifier."
description: Retrieves a .NET Native input assembly file by unique identifier.
title: "IDiaSession::findInputAssemblyById"
ms.date: "07/04/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findInputAssemblyById

Retrieves a .NET Native input assembly file by unique identifier.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves the .NET Native input assembly file that is the parent of the specified symbol."
description: Retrieves the .NET Native input assembly file that is the parent of the specified symbol.
title: "IDiaSession::findInputAssemblyFile"
ms.date: "07/05/2024"
ms.topic: "reference"
Expand All @@ -12,14 +12,15 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findInputAssemblyFile

Retrieves the .NET Native input assembly file that is the parent of the specified symbol.

## Syntax

```C++
HRESULT findInputAssemblyFile ( 
HRESULT findInputAssemblyFile (
IDiaSymbol* pSymbol,
IDiaInputAssemblyFile** ppResult
);
Expand All @@ -39,7 +40,6 @@ HRESULT findInputAssemblyFile ( 

If successful, returns `S_OK`; otherwise, returns an error code.


## See also

- [`IDiaSymbol`](../../debugger/debug-interface-access/idiasymbol.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Retrieves an enumeration that allows a client to iterate through the .NET Native input assembly files."
description: Retrieves an enumeration that allows a client to iterate through the .NET Native input assembly files.
title: "IDiaSession::findInputAssemblyFiles"
ms.date: "07/04/2024"
ms.topic: "reference"
Expand All @@ -12,6 +12,7 @@ ms.author: "grantri"
manager: twhitney
ms.subservice: debug-diagnostics
---

# IDiaSession::findInputAssemblyFiles

Retrieves an enumeration that allows a client to iterate through the .NET Native input assembly files.
Expand Down
Loading