DbContext.ContextId Property
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.
A unique identifier for the context instance and pool lease, if any.
public virtual Microsoft.EntityFrameworkCore.DbContextId ContextId { get; }
member this.ContextId : Microsoft.EntityFrameworkCore.DbContextId
Public Overridable ReadOnly Property ContextId As DbContextId
Property Value
Remarks
This identifier is primarily intended as a correlation ID for logging and debugging such that it is easy to identify that multiple events are using the same or different context instances.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework