RelationalLoggerExtensions.OptionalDependentWithoutIdentifyingPropertyWarning 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.
Olayı günlüğe kaydeder OptionalDependentWithoutIdentifyingPropertyWarning .
public static void OptionalDependentWithoutIdentifyingPropertyWarning(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member OptionalDependentWithoutIdentifyingPropertyWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
<Extension()>
Public Sub OptionalDependentWithoutIdentifyingPropertyWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType)
Parametreler
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model.Validation>
Kullanılacak tanılama günlükçüsüsü.
- entityType
- IEntityType
Varlık türü.