-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Add support for index sort order (descending) #27210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
23fb416
10eaf6a
8360e9e
77d4c98
82013c5
44587fd
21160bc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -625,7 +625,12 @@ protected virtual EntityTypeBuilder VisitIndexes(EntityTypeBuilder builder, ICol | |
| ? builder.HasIndex(propertyNames) | ||
| : builder.HasIndex(propertyNames, index.Name); | ||
|
|
||
| indexBuilder = indexBuilder.IsUnique(index.IsUnique); | ||
| indexBuilder.IsUnique(index.IsUnique); | ||
|
|
||
| if (index.IsDescending.Any(desc => desc)) | ||
| { | ||
| indexBuilder.IsDescending(index.IsDescending.ToArray()); | ||
|
||
| } | ||
|
|
||
| if (index.Filter != null) | ||
| { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.