Skip to content

Commit b8984ed

Browse files
authored
Update metadata
1 parent a86ba22 commit b8984ed

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/cosmos-db/nosql/tutorial-dotnet-console-app.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ title: |
33
Tutorial: Develop a .NET console application with Azure Cosmos DB for NoSQL
44
description: |
55
.NET tutorial to create a console application that adds data to Azure Cosmos DB for NoSQL.
6-
author: seesharprun
7-
ms.author: sidandrews
8-
ms.reviewer: esarroyo
6+
author: StefArroyo
7+
ms.author: esarroyo
98
ms.service: cosmos-db
109
ms.subservice: nosql
1110
ms.topic: tutorial
12-
ms.date: 11/02/2022
11+
ms.date: 06/05/2024
1312
ms.devlang: csharp
1413
ms.custom: devx-track-dotnet, cosmos-dev-refresh, cosmos-dev-dotnet-path
1514
---
@@ -371,12 +370,12 @@ Now that you've created your first item in the container, you can use the same S
371370
1. Create a new string named `sql` with a SQL query to retrieve items where a filter (`@id`) matches.
372371
373372
```csharp
374-
string sql = """
373+
string sql = @"
375374
SELECT
376375
*
377376
FROM customers c
378377
WHERE c.id = @id
379-
""";
378+
";
380379
```
381380
382381
1. Create a new `QueryDefinition` variable named `query` passing in the `sql` string as the only query parameter. Also, use the `WithParameter` fluid method to apply the value of the variable `id` to the `@id` parameter.

0 commit comments

Comments
 (0)