Skip to content

Commit fac8887

Browse files
Merge pull request #233177 from seesharprun/patch-1
Cosmos DB | Update .NET TTL sample for NoSQL to not use a nullable int
2 parents 20d5040 + e705b58 commit fac8887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/nosql/how-to-time-to-live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Use the following steps to enable time to live on an item:
233233
### [.NET SDK v3](#tab/dotnet-sdk-v3)
234234

235235
```csharp
236-
public record SalesOrder(string id, string customerId, int? ttl);
236+
public record SalesOrder(string id, string customerId, int ttl);
237237
```
238238

239239
```csharp

0 commit comments

Comments
 (0)