@@ -374,7 +374,7 @@ var application = webApplicationBuilder.Build();
374374application .UseDelta (
375375 getConnection : httpContext => httpContext .RequestServices .GetRequiredService <SqlConnection >());
376376```
377- <sup ><a href =' /src/DeltaTests/Usage.cs#L340-L346 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-CustomDiscoveryConnection ' title =' Start of snippet ' >anchor</a ></sup >
377+ <sup ><a href =' /src/DeltaTests/Usage.cs#L335-L341 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-CustomDiscoveryConnection ' title =' Start of snippet ' >anchor</a ></sup >
378378<!-- endSnippet -->
379379
380380To use custom connection and transaction discovery:
@@ -392,7 +392,7 @@ application.UseDelta(
392392 return new (connection , transaction );
393393 });
394394```
395- <sup ><a href =' /src/DeltaTests/Usage.cs#L351-L363 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-CustomDiscoveryConnectionAndTransaction ' title =' Start of snippet ' >anchor</a ></sup >
395+ <sup ><a href =' /src/DeltaTests/Usage.cs#L346-L358 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-CustomDiscoveryConnectionAndTransaction ' title =' Start of snippet ' >anchor</a ></sup >
396396<!-- endSnippet -->
397397
398398
@@ -580,7 +580,7 @@ Nuget: [Delta.SqlServer](https://www.nuget.org/packages/Delta.SqlServer)
580580``` cs
581581var timeStamp = await sqlConnection .GetLastTimeStamp ();
582582```
583- <sup ><a href =' /src/DeltaTests/Usage.cs#L193-L197 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetLastTimeStampSqlConnection ' title =' Start of snippet ' >anchor</a ></sup >
583+ <sup ><a href =' /src/DeltaTests/Usage.cs#L188-L192 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetLastTimeStampSqlConnection ' title =' Start of snippet ' >anchor</a ></sup >
584584<!-- endSnippet -->
585585
586586
@@ -608,7 +608,7 @@ foreach (var db in trackedDatabases)
608608 Trace .WriteLine (db );
609609}
610610```
611- <sup ><a href =' /src/DeltaTests/Usage.cs#L229-L237 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetDatabasesWithTracking ' title =' Start of snippet ' >anchor</a ></sup >
611+ <sup ><a href =' /src/DeltaTests/Usage.cs#L224-L232 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetDatabasesWithTracking ' title =' Start of snippet ' >anchor</a ></sup >
612612<!-- endSnippet -->
613613
614614Uses the following SQL:
@@ -638,7 +638,7 @@ foreach (var db in trackedTables)
638638 Trace .WriteLine (db );
639639}
640640```
641- <sup ><a href =' /src/DeltaTests/Usage.cs#L255-L263 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetTrackedTables ' title =' Start of snippet ' >anchor</a ></sup >
641+ <sup ><a href =' /src/DeltaTests/Usage.cs#L250-L258 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetTrackedTables ' title =' Start of snippet ' >anchor</a ></sup >
642642<!-- endSnippet -->
643643
644644Uses the following SQL:
@@ -663,7 +663,7 @@ Determine if change tracking is enabled for a database.
663663```cs
664664var isTrackingEnabled = await sqlConnection .IsTrackingEnabled ();
665665```
666- <sup ><a href =' /src/DeltaTests/Usage.cs#L329-L333 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-IsTrackingEnabled ' title =' Start of snippet ' >anchor</a ></sup >
666+ <sup ><a href =' /src/DeltaTests/Usage.cs#L324-L328 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-IsTrackingEnabled ' title =' Start of snippet ' >anchor</a ></sup >
667667<!-- endSnippet -->
668668
669669Uses the following SQL:
@@ -690,7 +690,7 @@ Enable change tracking for a database.
690690```cs
691691await sqlConnection .EnableTracking ();
692692```
693- <sup ><a href =' /src/DeltaTests/Usage.cs#L323-L327 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-EnableTracking ' title =' Start of snippet ' >anchor</a ></sup >
693+ <sup ><a href =' /src/DeltaTests/Usage.cs#L318-L322 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-EnableTracking ' title =' Start of snippet ' >anchor</a ></sup >
694694<!-- endSnippet -->
695695
696696Uses the following SQL:
@@ -718,7 +718,7 @@ Disable change tracking for a database and all tables within that database.
718718```cs
719719await sqlConnection .DisableTracking ();
720720```
721- <sup ><a href =' /src/DeltaTests/Usage.cs#L308-L312 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-DisableTracking ' title =' Start of snippet ' >anchor</a ></sup >
721+ <sup ><a href =' /src/DeltaTests/Usage.cs#L303-L307 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-DisableTracking ' title =' Start of snippet ' >anchor</a ></sup >
722722<!-- endSnippet -->
723723
724724Uses the following SQL:
@@ -755,7 +755,7 @@ Enables change tracking for all tables listed, and disables change tracking for
755755``` cs
756756await sqlConnection .SetTrackedTables ([" Companies" ]);
757757```
758- <sup ><a href =' /src/DeltaTests/Usage.cs#L249-L253 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-SetTrackedTables ' title =' Start of snippet ' >anchor</a ></sup >
758+ <sup ><a href =' /src/DeltaTests/Usage.cs#L244-L248 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-SetTrackedTables ' title =' Start of snippet ' >anchor</a ></sup >
759759<!-- endSnippet -->
760760
761761Uses the following SQL:
0 commit comments