Skip to content

Commit fd867a9

Browse files
committed
Merged main into live
2 parents f606cc4 + a1db749 commit fd867a9

File tree

66 files changed

+224
-139
lines changed

Some content is hidden

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

66 files changed

+224
-139
lines changed

docs/data-tools/add-new-data-sources.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For detailed instructions to complete the wizard, see [Create and configure data
101101

102102
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.
103103

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

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

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

116116
- **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.
117-
117+
118118
- **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.
119-
120-
- **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.
121-
119+
120+
- **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.
121+
122122
- **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.
123123

124124
:::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.":::
@@ -132,7 +132,7 @@ Follow these steps to create an Entity Framework model as a data source with the
132132
1. After you generate classes for the model, you can create a data source from an object with the **Data Source Configuration Wizard**.
133133

134134
- Select the tables (or individual columns), stored procedures, functions, and views from the model for use in the dataset.
135-
135+
136136
:::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.":::
137137

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

184184
1. To bind to an object in an assembly or project that doesn't appear in the tree view, select **Add Reference**.
185-
185+
186186
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.
187187

188188
> [!NOTE]

docs/data-tools/insert-new-records-into-a-database.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ There are different approaches for inserting records into a database based on yo
4141
| Scenario | Approach | Notes |
4242
| --- | --- | --- |
4343
| 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. |
44-
| 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. |
45-
| 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). |
46-
| 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> |
44+
| 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. |
45+
| 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). |
46+
| 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> |
4747

4848
## Insert new records by using TableAdapters
4949

docs/debugger/debug-interface-access/idiasession-findiloffsetsbyaddr.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range."
2+
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
33
title: "IDiaSession::findILOffsetsByAddr"
44
ms.date: "07/22/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findILOffsetsByAddr
1617

1718
Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.

docs/debugger/debug-interface-access/idiasession-findiloffsetsbyrva.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified relative virtual address (RVA) range."
2+
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified relative virtual address (RVA) range.
33
title: "IDiaSession::findILOffsetsByRVA"
44
ms.date: "07/22/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findILOffsetsByRVA
1617

1718
Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.
@@ -69,4 +70,4 @@ IDiaEnumLineNumbers* GetLineNumbersByAddr(IDiaSymbol *pFunc,
6970
7071
- [`IDiaEnumLineNumbers`](../../debugger/debug-interface-access/idiaenumlinenumbers.md)
7172
- [`IDiaSession`](../../debugger/debug-interface-access/idiasession.md)
72-
- [`IDiaSession::findILOffsetsByRVA`](../../debugger/debug-interface-access/idiasession-findlinesbyrva.md)
73+
- [`IDiaSession::findILOffsetsByRVA`](../../debugger/debug-interface-access/idiasession-findlinesbyrva.md)

docs/debugger/debug-interface-access/idiasession-findiloffsetsbyva.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified virtual address (VA) range."
2+
description: Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified virtual address (VA) range.
33
title: "IDiaSession::findILOffsetsByVA"
44
ms.date: "07/22/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findILOffsetsByVA
1617

1718
Retrieves an enumeration that allows a client to iterate through the MSIL offsets within a specified address range.

docs/debugger/debug-interface-access/idiasession-findinjectedsource.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process."
2+
description: Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process.
33
title: "IDiaSession::findInjectedSource"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,14 +12,15 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findInjectedSource
1617

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

1920
## Syntax
2021

2122
```C++
22-
HRESULT findInjectedSource ( 
23+
HRESULT findInjectedSource (
2324
LPCOLESTR srcFile,
2425
IDiaEnumInjectedSources** ppResult
2526
);

docs/debugger/debug-interface-access/idiasession-findinlineelines.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
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."
2+
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.
33
title: "IDiaSession::findInlineeLines"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineeLines
1415

1516
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.
1617

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineeLines ( 
21+
HRESULT findInlineeLines (
2122
IDiaSymbol* parent,
2223
IDiaEnumLineNumbers** ppResult
2324
);

docs/debugger/debug-interface-access/idiasession-findinlineelinesbyaddr.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineeLinesByAddr
1415

1516
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.
1617

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineeLinesByAddr ( 
21+
HRESULT findInlineeLinesByAddr (
2122
IDiaSymbol* parent, DWORD isect, DWORD offset, DWORD length,
2223
IDiaEnumLineNumbers** ppResult
2324
);

docs/debugger/debug-interface-access/idiasession-findinlineelinesbylinenum.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
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."
2+
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.
33
title: "IDiaSession::findInlineeLinesByLinenum"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineeLinesByLinenum
1415

1516
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.
1617

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineeLinesByVA ( 
21+
HRESULT findInlineeLinesByVA (
2122
IDiaSymbol* compiland,
2223
IDiaSourceFile* file,
2324
DWORD linenum,

docs/debugger/debug-interface-access/idiasession-findinlineelinesbyrva.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineeLinesByRVA
1415

1516
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).
1617

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineeLinesByRVA ( 
21+
HRESULT findInlineeLinesByRVA (
2122
IDiaSymbol* parent,
2223
DWORD rva,
2324
DWORD length,

docs/debugger/debug-interface-access/idiasession-findinlineelinesbyva.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineeLinesByVA
1415

1516
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).
1617

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineeLinesByVA ( 
21+
HRESULT findInlineeLinesByVA (
2122
IDiaSymbol* parent, ULONGLONG va, DWORD length,
2223
IDiaEnumLineNumbers** ppResult
2324
);

docs/debugger/debug-interface-access/idiasession-findinlineesbyname.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name."
2+
description: Retrieves an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name.
33
title: "IDiaSession::findInlineesByName"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineesByName
1415

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

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineesByName ( 
21+
HRESULT findInlineesByName (
2122
LPCOLESTR name,
2223
DWORD option,
2324
IDiaEnumLineNumbers** ppResult

docs/debugger/debug-interface-access/idiasession-findinlineframesbyaddr.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineFramesByAddr
1415

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

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineFramesByAddr ( 
21+
HRESULT findInlineFramesByAddr (
2122
IDiaSymbol* parent, DWORD isect,
2223
DWORD offset,
2324
IDiaEnumSymbols** ppResult

docs/debugger/debug-interface-access/idiasession-findinlineframesbyrva.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineFramesByRVA
1415

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

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineFramesByRVA ( 
21+
HRESULT findInlineFramesByRVA (
2122
IDiaSymbol* parent, DWORD rva,
2223
IDiaEnumSymbols** ppResult
2324
);

docs/debugger/debug-interface-access/idiasession-findinlineframesbyva.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ms.author: "mikejo"
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
1212
---
13+
1314
# IDiaSession::findInlineFramesByVA
1415

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

1718
## Syntax
1819

1920
```C++
20-
HRESULT findInlineFramesByVA ( 
21+
HRESULT findInlineFramesByVA (
2122
IDiaSymbol* parent, ULONGLONG va,
2223
IDiaEnumSymbols** ppResult
2324
);

docs/debugger/debug-interface-access/idiasession-findinputassembly.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves a .NET Native input assembly file by index."
2+
description: Retrieves a .NET Native input assembly file by index.
33
title: "IDiaSession::findInputAssembly"
44
ms.date: "07/04/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findInputAssembly
1617

1718
Retrieves a .NET Native input assembly file by index.

docs/debugger/debug-interface-access/idiasession-findinputassemblybyid.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves a .NET Native input assembly file by unique identifier."
2+
description: Retrieves a .NET Native input assembly file by unique identifier.
33
title: "IDiaSession::findInputAssemblyById"
44
ms.date: "07/04/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findInputAssemblyById
1617

1718
Retrieves a .NET Native input assembly file by unique identifier.

docs/debugger/debug-interface-access/idiasession-findinputassemblyfile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves the .NET Native input assembly file that is the parent of the specified symbol."
2+
description: Retrieves the .NET Native input assembly file that is the parent of the specified symbol.
33
title: "IDiaSession::findInputAssemblyFile"
44
ms.date: "07/05/2024"
55
ms.topic: "reference"
@@ -12,14 +12,15 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findInputAssemblyFile
1617

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

1920
## Syntax
2021

2122
```C++
22-
HRESULT findInputAssemblyFile ( 
23+
HRESULT findInputAssemblyFile (
2324
IDiaSymbol* pSymbol,
2425
IDiaInputAssemblyFile** ppResult
2526
);
@@ -39,7 +40,6 @@ HRESULT findInputAssemblyFile ( 
3940

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

42-
4343
## See also
4444

4545
- [`IDiaSymbol`](../../debugger/debug-interface-access/idiasymbol.md)

docs/debugger/debug-interface-access/idiasession-findinputassemblyfiles.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Retrieves an enumeration that allows a client to iterate through the .NET Native input assembly files."
2+
description: Retrieves an enumeration that allows a client to iterate through the .NET Native input assembly files.
33
title: "IDiaSession::findInputAssemblyFiles"
44
ms.date: "07/04/2024"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "grantri"
1212
manager: twhitney
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaSession::findInputAssemblyFiles
1617

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

0 commit comments

Comments
 (0)