Partager via


CoreLoggerExtensions.ShadowForeignKeyPropertyCreated Méthode

Définition

Journaux de l’événement ShadowForeignKeyPropertyCreated .

public static void ShadowForeignKeyPropertyCreated (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property, string basePropertyName);
static member ShadowForeignKeyPropertyCreated : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IProperty * string -> unit
<Extension()>
Public Sub ShadowForeignKeyPropertyCreated (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), property As IProperty, basePropertyName As String)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d’diagnostics à utiliser.

property
IProperty

Propriété.

basePropertyName
String

Nom de propriété qui n’a pas étéiquifié.

S’applique à