-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
526 additions
and
35 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
namespace Npgsql.EntityFrameworkCore.PostgreSQL.Metadata | ||
{ | ||
/// <summary> | ||
/// Options for modifying sort ordering of <c>NULL</c>-values in indexes. | ||
/// </summary> | ||
public enum NullSortOrder | ||
{ | ||
/// <summary> | ||
/// Represents an unspecified sort order. The database default will be used. | ||
/// </summary> | ||
Unspecified = 0, | ||
|
||
/// <summary> | ||
/// Specifies that nulls sort before non-nulls. | ||
/// </summary> | ||
/// <remarks> | ||
/// This is the default when <see cref="SortOrder.Descending"/> is specified. | ||
/// </remarks> | ||
NullsFirst = 1, | ||
|
||
/// <summary> | ||
/// Specifies that nulls sort after non-nulls. | ||
/// </summary> | ||
/// <remarks> | ||
/// This is the default when <see cref="SortOrder.Descending"/> is not specified. | ||
/// </remarks> | ||
NullsLast = 2, | ||
} | ||
} |
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,18 @@ | ||
namespace Npgsql.EntityFrameworkCore.PostgreSQL.Metadata | ||
{ | ||
/// <summary> | ||
/// Options for modifying sort ordering of index values. | ||
/// </summary> | ||
public enum SortOrder | ||
{ | ||
/// <summary> | ||
/// Specifies ascending sort order, which is the default. | ||
/// </summary> | ||
Ascending = 0, | ||
|
||
/// <summary> | ||
/// Specifies descending sort order. | ||
/// </summary> | ||
Descending = 1, | ||
} | ||
} |
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
Oops, something went wrong.