RelationalModelValidator.ValidateMappingStrategy(IEntityType, String) Method

Definition

Validates that the given mapping strategy is supported

protected virtual void ValidateMappingStrategy (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string? mappingStrategy);
abstract member ValidateMappingStrategy : Microsoft.EntityFrameworkCore.Metadata.IEntityType * string -> unit
override this.ValidateMappingStrategy : Microsoft.EntityFrameworkCore.Metadata.IEntityType * string -> unit
Protected Overridable Sub ValidateMappingStrategy (entityType As IEntityType, mappingStrategy As String)

Parameters

entityType
IEntityType

The entity type.

mappingStrategy
String

The mapping strategy.

Applies to