RelationalModelValidator.ValidateMappingStrategy(IEntityType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework