EventDefinitionBase Constructors
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.
EventDefinitionBase(EventId, LogLevel) |
Creates an event definition instance. |
EventDefinitionBase(EventId, LogLevel, String) |
Creates an event definition instance. |
EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String) |
Creates an event definition instance. |
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel)
Parameters
Applies to
Entity Framework Core 2.2 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 2.0, 2.1, 2.2 |
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel, eventIdCode As String)
Parameters
- eventIdCode
- String
A string representing the code that should be passed to ConfigureWanings.
Applies to
Entity Framework Core 2.2 ja Entity Framework Core 2.1
Toode | Versioonid |
---|---|
Entity Framework Core | 2.1, 2.2 |
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
- Source:
- EventDefinitionBase.cs
Creates an event definition instance.
protected EventDefinitionBase (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String)
Parameters
- loggingOptions
- ILoggingOptions
Logging options.
- eventIdCode
- String
A string representing the code that should be passed to ConfigureWarnings(Action<WarningsConfigurationBuilder>).
Applies to
Entity Framework Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: