CoreStrings.WarningAsErrorTemplate(Object, Object, Object) 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.
An error was generated for warning '{eventName}': {message} This exception can be suppressed or logged by passing event ID '{eventId}' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
public static string WarningAsErrorTemplate (object eventName, object message, object eventId);
public static string WarningAsErrorTemplate (object? eventName, object? message, object? eventId);
static member WarningAsErrorTemplate : obj * obj * obj -> string
Public Shared Function WarningAsErrorTemplate (eventName As Object, message As Object, eventId As Object) As String
Parameters
- eventName
- Object
- message
- Object
- eventId
- Object
Returns
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