DbContextId(Guid, Int32) Constructor
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.
Creates a new DbContextId with the given InstanceId and lease number.
public DbContextId (Guid id, int lease);
new Microsoft.EntityFrameworkCore.DbContextId : Guid * int -> Microsoft.EntityFrameworkCore.DbContextId
Public Sub New (id As Guid, lease As Integer)
Parameters
- lease
- Int32
A number indicating whether this is the first, second, third, etc. lease of this instance.
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