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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework