CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)
Olay için ConflictingKeylessAndKeyAttributesWarning günlükler.
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IReadOnlyProperty)
Parametreler
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Kullanmak için tanılama günlükleyicisi.
- property
- IReadOnlyProperty
Bir anahtarın parçası olarak tanımlanan özelliği.
Şunlara uygulanır
ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)
Olay için ConflictingKeylessAndKeyAttributesWarning günlükler.
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IProperty)
Parametreler
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Kullanmak için tanılama günlükleyicisi.
- property
- IProperty
Bir anahtarın parçası olarak tanımlanan özelliği.