다음을 통해 공유


ModelValidator.ValidatePrimitiveCollections 메서드

정의

모델의 기본 컬렉션 속성 매핑의 유효성을 검사합니다.

protected virtual void ValidatePrimitiveCollections (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidatePrimitiveCollections : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidatePrimitiveCollections : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidatePrimitiveCollections (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

model
IModel

유효성을 검사할 모델입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상