RelationalModelValidator.ValidateSharedViewCompatibility Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ValidateSharedViewCompatibility(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>) |
Valide le mappage/configuration des vues partagées dans le modèle. |
ValidateSharedViewCompatibility(IReadOnlyList<IEntityType>, String, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>) |
Valide la compatibilité des types d’entités partageant une vue donnée. |
ValidateSharedViewCompatibility(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
Valide le mappage/configuration des vues partagées dans le modèle.
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))
Paramètres
- model
- IModel
Modèle à valider.
Enregistreur d'événements à utiliser.
S’applique à
ValidateSharedViewCompatibility(IReadOnlyList<IEntityType>, String, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
- Source:
- RelationalModelValidator.cs
Valide la compatibilité des types d’entités partageant une vue donnée.
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))
Paramètres
- mappedTypes
- IReadOnlyList<IEntityType>
Types d’entités mappés.
- viewName
- String
Nom de la vue.
- schema
- String
Le schéma.
Enregistreur d'événements à utiliser.