diff --git a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Internal/DiagnosticsEntityFrameworkCoreLoggerExtensions.cs b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Internal/DiagnosticsEntityFrameworkCoreLoggerExtensions.cs index e7749f488a..2381c31c09 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Internal/DiagnosticsEntityFrameworkCoreLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Internal/DiagnosticsEntityFrameworkCoreLoggerExtensions.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Internal private static readonly Action _noContextType = LoggerMessage.Define( LogLevel.Error, new EventId(1, "NoContextType"), - "No context type was specified. Ensure the form data from the request includes a contextTypeName value, specifying the context to apply migrations for."); + "No context type was specified. Ensure the form data from the request includes a context value, specifying the context type name to apply migrations for."); private static readonly Action _invalidContextType = LoggerMessage.Define( LogLevel.Error, diff --git a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Properties/Strings.Designer.cs b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Properties/Strings.Designer.cs index 3266d2f144..4540a949c7 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Properties/Strings.Designer.cs +++ b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Properties/Strings.Designer.cs @@ -277,7 +277,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore => string.Format(CultureInfo.CurrentCulture, GetString("MigrationsEndPointMiddleware_InvalidContextType"), p0); /// - /// No context type was specified. Ensure the form data from the request includes a contextTypeName value, specifying the context to apply migrations for. + /// No context type was specified. Ensure the form data from the request includes a context value, specifying the context type name to apply migrations for. /// internal static string MigrationsEndPointMiddleware_NoContextType { diff --git a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Strings.resx b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Strings.resx index 3f987c8716..26314d1062 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Strings.resx +++ b/src/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore/Strings.resx @@ -175,7 +175,7 @@ The context type '{0}' could not be loaded. Ensure this is the correct type name for the context you are trying to apply migrations for. - No context type was specified. Ensure the form data from the request includes a contextTypeName value, specifying the context to apply migrations for. + No context type was specified. Ensure the form data from the request includes a context value, specifying the context type name to apply migrations for. A database operation failed while processing the request.