@@ -320,7 +320,7 @@ var application = webApplicationBuilder.Build();
320320application .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
326326To 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
526526var 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
559559Uses 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
589589Uses the following SQL:
@@ -608,7 +608,7 @@ Determine if change tracking is enabled for a database.
608608```cs
609609var 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
614614Uses the following SQL:
@@ -635,7 +635,7 @@ Enable change tracking for a database.
635635```cs
636636await 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
641641Uses the following SQL:
@@ -663,7 +663,7 @@ Disable change tracking for a database and all tables within that database.
663663```cs
664664await 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
669669Uses the following SQL:
@@ -700,7 +700,7 @@ Enables change tracking for all tables listed, and disables change tracking for
700700``` cs
701701await 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
706706Uses the following SQL:
0 commit comments