TypeMappingSourceBase.ValidateMapping(CoreTypeMapping, IProperty) Method

Definition

Called after a mapping has been found so that it can be validated for the given property.

protected virtual void ValidateMapping (Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping mapping, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
protected virtual void ValidateMapping (Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? mapping, Microsoft.EntityFrameworkCore.Metadata.IProperty? property);
abstract member ValidateMapping : Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
override this.ValidateMapping : Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
Protected Overridable Sub ValidateMapping (mapping As CoreTypeMapping, property As IProperty)

Parameters

mapping
CoreTypeMapping

The mapping, if any.

property
IProperty

The property, if any.

Applies to