共用方式為


RelationalModelValidator.ValidateInheritanceMapping Method

Definition

Overloads

ValidateInheritanceMapping(IModel)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

ValidateInheritanceMapping(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Validates the mapping/configuration of inheritance in the model.

ValidateInheritanceMapping(IModel)

Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual void ValidateInheritanceMapping (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
override this.ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
Protected Overridable Sub ValidateInheritanceMapping (model As IModel)

Parameters

model
IModel

Applies to

ValidateInheritanceMapping(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs
Source:
RelationalModelValidator.cs

Validates the mapping/configuration of inheritance in the model.

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

Parameters

model
IModel

The model to validate.

Applies to