CoreLoggerExtensions.CompiledModelProviderMismatchWarning 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 CompiledModelProviderMismatchWarning event.
public static void CompiledModelProviderMismatchWarning(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, string compiledProviderName, string currentProviderName);
static member CompiledModelProviderMismatchWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * string * string -> unit
<Extension()>
Public Sub CompiledModelProviderMismatchWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), compiledProviderName As String, currentProviderName As String)
Parameters
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Infrastructure>
The diagnostics logger to use.
- compiledProviderName
- String
The provider name stored in the compiled model.
- currentProviderName
- String
The provider name currently configured.