-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Improve flexibility of base interface support for cursor navigation…
… with non-generic ICursorPageNavigationInfo.
- Loading branch information
1 parent
131d498
commit 2aeff1b
Showing
4 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
RepoDb.PagingPrimitives/Common/ICursorPageNavigationInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace RepoDb.PagingPrimitives.Common | ||
{ | ||
|
||
/// <summary> | ||
/// Interface representing a Decorator class for common Paging navigation info. | ||
/// </summary> | ||
public interface ICursorPageNavigationInfo : IPageNavigationInfo | ||
{ | ||
/// <summary> | ||
/// The Cursor for the first item in the results of this page; can be used for forward or backward cursor navigation via first/after or last/before. | ||
/// </summary> | ||
string StartCursor { get; } | ||
|
||
/// <summary> | ||
/// The Cursor for the last item in the results of this page; can be used for forward or backward cursor navigation via first/after or last/before. | ||
/// </summary> | ||
string EndCursor { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters