Compartir a través de


RelationalModelValidator.ValidateSharedTableCompatibility Método

Definición

Sobrecargas

ValidateSharedTableCompatibility(IModel)

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

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

Valida la asignación o configuración de tablas compartidas en el modelo.

ValidateSharedTableCompatibility(IReadOnlyList<IEntityType>, String)

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

ValidateSharedTableCompatibility(IReadOnlyList<IEntityType>, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

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

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

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

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

ValidateSharedTableCompatibility(IModel)

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

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

Parámetros

model
IModel

Se aplica a

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

Valida la asignación o configuración de tablas compartidas en el modelo.

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

Parámetros

model
IModel

Modelo que se va a validar.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

El registrador que se va a usar.

Se aplica a

ValidateSharedTableCompatibility(IReadOnlyList<IEntityType>, String)

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

protected virtual void ValidateSharedTableCompatibility (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string tableName);
abstract member ValidateSharedTableCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
override this.ValidateSharedTableCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
Protected Overridable Sub ValidateSharedTableCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), tableName As String)

Parámetros

mappedTypes
IReadOnlyList<IEntityType>
tableName
String

Se aplica a

ValidateSharedTableCompatibility(IReadOnlyList<IEntityType>, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

protected virtual void ValidateSharedTableCompatibility (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedTableCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedTableCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedTableCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parámetros

mappedTypes
IReadOnlyList<IEntityType>

Tipos de entidad asignados.

storeObject
StoreObjectIdentifier

Identificador de tabla.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

El registrador que se va a usar.

Se aplica a

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

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

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

Parámetros

mappedTypes
IReadOnlyList<IEntityType>

Tipos de entidad asignados.

tableName
String

El nombre de la tabla.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

El registrador que se va a usar.

Se aplica a

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

Valida la compatibilidad de tipos de entidad que comparten una tabla determinada.

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

Parámetros

mappedTypes
IReadOnlyList<IEntityType>

Tipos de entidad asignados.

tableName
String

El nombre de la tabla.

schema
String

Esquema.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

El registrador que se va a usar.

Se aplica a