@@ -396,6 +396,19 @@ application.UseDelta(
396396<!-- endSnippet -->
397397
398398
399+ ### GetLastTimeStamp
400+
401+ For a ` DbConnection ` :
402+
403+ <!-- snippet: GetLastTimeStampConnection -->
404+ <a id =' snippet-GetLastTimeStampConnection ' ></a >
405+ ``` cs
406+ var timeStamp = await connection .GetLastTimeStamp ();
407+ ```
408+ <sup ><a href =' /src/DeltaTests/Usage.cs#L188-L192 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetLastTimeStampConnection ' title =' Start of snippet ' >anchor</a ></sup >
409+ <!-- endSnippet -->
410+
411+
399412## EF Usage
400413
401414
@@ -542,6 +555,17 @@ app.UseDelta<SampleDbContext>(
542555<!-- endSnippet -->
543556
544557
558+ ### GetLastTimeStamp:
559+
560+ <!-- snippet: GetLastTimeStampEF -->
561+ <a id =' snippet-GetLastTimeStampEF ' ></a >
562+ ``` cs
563+ var timeStamp = await dbContext .GetLastTimeStamp ();
564+ ```
565+ <sup ><a href =' /src/Delta.EFTests/Usage.cs#L41-L45 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetLastTimeStampEF ' title =' Start of snippet ' >anchor</a ></sup >
566+ <!-- endSnippet -->
567+
568+
545569## UseResponseDiagnostics
546570
547571Response diagnostics is an opt-out feature that includes extra log information in the response headers.
@@ -570,31 +594,6 @@ A set of helper methods for working with [SQL Server Change Tracking](https://le
570594Nuget: [ Delta.SqlServer] ( https://www.nuget.org/packages/Delta.SqlServer )
571595
572596
573- ### GetLastTimeStamp
574-
575-
576- #### For a ` SqlConnection ` :
577-
578- <!-- snippet: GetLastTimeStampSqlConnection -->
579- <a id =' snippet-GetLastTimeStampSqlConnection ' ></a >
580- ``` cs
581- var timeStamp = await sqlConnection .GetLastTimeStamp ();
582- ```
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 >
584- <!-- endSnippet -->
585-
586-
587- #### For a ` DbContext ` :
588-
589- <!-- snippet: GetLastTimeStampEF -->
590- <a id =' snippet-GetLastTimeStampEF ' ></a >
591- ``` cs
592- var timeStamp = await dbContext .GetLastTimeStamp ();
593- ```
594- <sup ><a href =' /src/Delta.EFTests/Usage.cs#L41-L45 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-GetLastTimeStampEF ' title =' Start of snippet ' >anchor</a ></sup >
595- <!-- endSnippet -->
596-
597-
598597### GetDatabasesWithTracking
599598
600599Get a list of all databases with change tracking enabled.
0 commit comments