Share via


RelationalModelValidator.ValidatePropertyMapping Method

Definition

Validates property mappings for a given complex property.

protected override void ValidatePropertyMapping(Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
override this.ValidatePropertyMapping : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overrides Sub ValidatePropertyMapping (complexProperty As IConventionComplexProperty, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameters

complexProperty
IConventionComplexProperty

The complex property to validate.

Applies to