Język

RelationalModelValidator.ValidateIndexOnComplexProperty Metoda

Definicja

Sprawdza poprawność indeksu zawierającego złożoną właściwość.

protected override void ValidateIndexOnComplexProperty(Microsoft.EntityFrameworkCore.Metadata.IIndex index, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> complexProperties, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
override this.ValidateIndexOnComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overrides Sub ValidateIndexOnComplexProperty (index As IIndex, complexProperties As IReadOnlyList(Of IComplexProperty), logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

index
IIndex

Indeks do zweryfikowania.

complexProperties
IReadOnlyList<IComplexProperty>

Złożone właściwości zawarte w indeksie.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy