ModelValidator.ValidateTypeMappings(IModel, IDiagnosticsLogger<DbLoggerCategory.Model>) Method

Definition

Validates the type mapping of properties the model.

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

Parameters

model
IModel

The model to validate.

Applies to