RelationalModelValidator.ValidateIndexOnComplexProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates an index that contains a complex property.
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))
Parameters
- index
- IIndex
The index to validate.
- complexProperties
- IReadOnlyList<IComplexProperty>
The complex properties contained in the index.
The logger to use.