Partilhar via


RelationalModelValidator.ValidateSharedViewCompatibility Método

Definição

Sobrecargas

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

Valida o mapeamento/configuração de exibições compartilhadas no modelo.

ValidateSharedViewCompatibility(IReadOnlyList<IEntityType>, String, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Valida a compatibilidade de tipos de entidade que compartilham uma determinada exibição.

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

Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs

Valida o mapeamento/configuração de exibições compartilhadas no modelo.

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

Parâmetros

model
IModel

O modelo a ser validado.

Aplica-se a

ValidateSharedViewCompatibility(IReadOnlyList<IEntityType>, String, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs
Origem:
RelationalModelValidator.cs

Valida a compatibilidade de tipos de entidade que compartilham uma determinada exibição.

protected virtual void ValidateSharedViewCompatibility (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string viewName, string schema, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
protected virtual void ValidateSharedViewCompatibility (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string viewName, string? schema, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedViewCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedViewCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedViewCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), viewName As String, schema As String, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parâmetros

mappedTypes
IReadOnlyList<IEntityType>

Os tipos de entidade mapeados.

viewName
String

O nome da exibição.

schema
String

O esquema.

Aplica-se a