ModelValidator.ValidateIndexOnComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證包含複雜屬性的索引。
protected virtual 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);
abstract member ValidateIndexOnComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
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 Overridable Sub ValidateIndexOnComplexProperty (index As IIndex, complexProperties As IReadOnlyList(Of IComplexProperty), logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
參數
- index
- IIndex
索引來驗證。
- complexProperties
- IReadOnlyList<IComplexProperty>
索引中包含的複數性質。
用來用的伐木機。