Skip to content

Commit 25e7b1c

Browse files
committed
Docs changes
1 parent 2338cf5 commit 25e7b1c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ var application = webApplicationBuilder.Build();
320320
application.UseDelta(
321321
getConnection: httpContext => httpContext.RequestServices.GetRequiredService<SqlConnection>());
322322
```
323-
<sup><a href='/src/DeltaTests/Usage.cs#L328-L334' title='Snippet source file'>snippet source</a> | <a href='#snippet-CustomDiscoveryConnection' title='Start of snippet'>anchor</a></sup>
323+
<sup><a href='/src/DeltaTests/Usage.cs#L329-L335' title='Snippet source file'>snippet source</a> | <a href='#snippet-CustomDiscoveryConnection' title='Start of snippet'>anchor</a></sup>
324324
<!-- endSnippet -->
325325

326326
To use custom connection and transaction discovery:
@@ -338,7 +338,7 @@ webApplication.UseDelta(
338338
return new(connection, transaction);
339339
});
340340
```
341-
<sup><a href='/src/DeltaTests/Usage.cs#L339-L351' title='Snippet source file'>snippet source</a> | <a href='#snippet-CustomDiscoveryConnectionAndTransaction' title='Start of snippet'>anchor</a></sup>
341+
<sup><a href='/src/DeltaTests/Usage.cs#L340-L352' title='Snippet source file'>snippet source</a> | <a href='#snippet-CustomDiscoveryConnectionAndTransaction' title='Start of snippet'>anchor</a></sup>
342342
<!-- endSnippet -->
343343

344344

@@ -525,7 +525,7 @@ Nuget: [Delta.SqlServer](https://www.nuget.org/packages/Delta.SqlServer)
525525
```cs
526526
var timeStamp = await sqlConnection.GetLastTimeStamp();
527527
```
528-
<sup><a href='/src/DeltaTests/Usage.cs#L164-L168' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetLastTimeStampSqlConnection' title='Start of snippet'>anchor</a></sup>
528+
<sup><a href='/src/DeltaTests/Usage.cs#L165-L169' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetLastTimeStampSqlConnection' title='Start of snippet'>anchor</a></sup>
529529
<!-- endSnippet -->
530530

531531

@@ -553,7 +553,7 @@ foreach (var db in trackedDatabases)
553553
Trace.WriteLine(db);
554554
}
555555
```
556-
<sup><a href='/src/DeltaTests/Usage.cs#L226-L234' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetDatabasesWithTracking' title='Start of snippet'>anchor</a></sup>
556+
<sup><a href='/src/DeltaTests/Usage.cs#L227-L235' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetDatabasesWithTracking' title='Start of snippet'>anchor</a></sup>
557557
<!-- endSnippet -->
558558

559559
Uses the following SQL:
@@ -583,7 +583,7 @@ foreach (var db in trackedTables)
583583
Trace.WriteLine(db);
584584
}
585585
```
586-
<sup><a href='/src/DeltaTests/Usage.cs#L252-L260' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetTrackedTables' title='Start of snippet'>anchor</a></sup>
586+
<sup><a href='/src/DeltaTests/Usage.cs#L253-L261' title='Snippet source file'>snippet source</a> | <a href='#snippet-GetTrackedTables' title='Start of snippet'>anchor</a></sup>
587587
<!-- endSnippet -->
588588

589589
Uses the following SQL:
@@ -608,7 +608,7 @@ Determine if change tracking is enabled for a database.
608608
```cs
609609
var isTrackingEnabled = await sqlConnection.IsTrackingEnabled();
610610
```
611-
<sup><a href='/src/DeltaTests/Usage.cs#L317-L321' title='Snippet source file'>snippet source</a> | <a href='#snippet-IsTrackingEnabled' title='Start of snippet'>anchor</a></sup>
611+
<sup><a href='/src/DeltaTests/Usage.cs#L318-L322' title='Snippet source file'>snippet source</a> | <a href='#snippet-IsTrackingEnabled' title='Start of snippet'>anchor</a></sup>
612612
<!-- endSnippet -->
613613

614614
Uses the following SQL:
@@ -635,7 +635,7 @@ Enable change tracking for a database.
635635
```cs
636636
await sqlConnection.EnableTracking();
637637
```
638-
<sup><a href='/src/DeltaTests/Usage.cs#L311-L315' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnableTracking' title='Start of snippet'>anchor</a></sup>
638+
<sup><a href='/src/DeltaTests/Usage.cs#L312-L316' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnableTracking' title='Start of snippet'>anchor</a></sup>
639639
<!-- endSnippet -->
640640

641641
Uses the following SQL:
@@ -663,7 +663,7 @@ Disable change tracking for a database and all tables within that database.
663663
```cs
664664
await sqlConnection.DisableTracking();
665665
```
666-
<sup><a href='/src/DeltaTests/Usage.cs#L296-L300' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableTracking' title='Start of snippet'>anchor</a></sup>
666+
<sup><a href='/src/DeltaTests/Usage.cs#L297-L301' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableTracking' title='Start of snippet'>anchor</a></sup>
667667
<!-- endSnippet -->
668668

669669
Uses the following SQL:
@@ -700,7 +700,7 @@ Enables change tracking for all tables listed, and disables change tracking for
700700
```cs
701701
await sqlConnection.SetTrackedTables(["Companies"]);
702702
```
703-
<sup><a href='/src/DeltaTests/Usage.cs#L246-L250' title='Snippet source file'>snippet source</a> | <a href='#snippet-SetTrackedTables' title='Start of snippet'>anchor</a></sup>
703+
<sup><a href='/src/DeltaTests/Usage.cs#L247-L251' title='Snippet source file'>snippet source</a> | <a href='#snippet-SetTrackedTables' title='Start of snippet'>anchor</a></sup>
704704
<!-- endSnippet -->
705705

706706
Uses the following SQL:

0 commit comments

Comments
 (0)