CoreLoggerExtensions.DuplicateDependentEntityTypeInstanceWarning Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs for the DuplicateDependentEntityTypeInstanceWarning event.
public static void DuplicateDependentEntityTypeInstanceWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType dependent1, Microsoft.EntityFrameworkCore.Metadata.IEntityType dependent2);
static member DuplicateDependentEntityTypeInstanceWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
<Extension()>
Public Sub DuplicateDependentEntityTypeInstanceWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), dependent1 As IEntityType, dependent2 As IEntityType)
Parameters
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Update>
The diagnostics logger to use.
- dependent1
- IEntityType
The first dependent type.
- dependent2
- IEntityType
The second dependent type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework