Condividi tramite


RelationalModelValidator.ValidateInheritanceMapping Metodo

Definizione

Overload

ValidateInheritanceMapping(IModel)

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

ValidateInheritanceMapping(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Convalida il mapping o la configurazione dell'ereditarietà nel modello.

ValidateInheritanceMapping(IModel)

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

protected virtual void ValidateInheritanceMapping (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
override this.ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
Protected Overridable Sub ValidateInheritanceMapping (model As IModel)

Parametri

model
IModel

Si applica a

ValidateInheritanceMapping(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Convalida il mapping o la configurazione dell'ereditarietà nel modello.

protected virtual void ValidateInheritanceMapping (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
protected override void ValidateInheritanceMapping (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateInheritanceMapping : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateInheritanceMapping (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
Protected Overrides Sub ValidateInheritanceMapping (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametri

model
IModel

Modello da convalidare.

Si applica a