IConventionIndexBuilder.IsDescending Metoda

Definicja

Konfiguruje kolejność sortowania dla kolumn tego indeksu (rosnąco lub malejąco).

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? IsDescending (System.Collections.Generic.IReadOnlyList<bool>? descending, bool fromDataAnnotation = false);
abstract member IsDescending : System.Collections.Generic.IReadOnlyList<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
Public Function IsDescending (descending As IReadOnlyList(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

Parametry

descending
IReadOnlyList<Boolean>

Zestaw wartości wskazujący, czy każda odpowiadająca kolumna indeksu ma kolejność sortowania malejącego.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

To samo wystąpienie konstruktora, jeśli została skonfigurowana unikatowość, null w przeciwnym razie.

Dotyczy