다음을 통해 공유


ModelValidator.ValidateClrInheritance Method

Definition

Overloads

ValidateClrInheritance(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.

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

Validates the mapping/configuration of inheritance in the model.

ValidateClrInheritance(IModel, IEntityType, HashSet<IEntityType>)

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.

ValidateClrInheritance(IModel)

Source:
ModelValidator.cs
Source:
ModelValidator.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 ValidateClrInheritance (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ValidateClrInheritance : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
override this.ValidateClrInheritance : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
Protected Overridable Sub ValidateClrInheritance (model As IModel)

Parameters

model
IModel

Applies to

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

Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs

Validates the mapping/configuration of inheritance in the model.

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

Parameters

model
IModel

The model to validate.

Applies to

ValidateClrInheritance(IModel, IEntityType, HashSet<IEntityType>)

Source:
ModelValidator.cs
Source:
ModelValidator.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 ValidateClrInheritance (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.HashSet<Microsoft.EntityFrameworkCore.Metadata.IEntityType> validEntityTypes);
abstract member ValidateClrInheritance : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.HashSet<Microsoft.EntityFrameworkCore.Metadata.IEntityType> -> unit
override this.ValidateClrInheritance : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.HashSet<Microsoft.EntityFrameworkCore.Metadata.IEntityType> -> unit
Protected Overridable Sub ValidateClrInheritance (model As IModel, entityType As IEntityType, validEntityTypes As HashSet(Of IEntityType))

Parameters

model
IModel
entityType
IEntityType
validEntityTypes
HashSet<IEntityType>

Applies to