RelationalModelValidator.ValidatePropertyMapping 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 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.
The logger to use.