Share via


DbContextId.Equality(DbContextId, DbContextId) Operator

Definition

Compares one ID to another ID to see if they represent the same leased context.

public static bool operator == (Microsoft.EntityFrameworkCore.DbContextId left, Microsoft.EntityFrameworkCore.DbContextId right);
static member ( = ) : Microsoft.EntityFrameworkCore.DbContextId * Microsoft.EntityFrameworkCore.DbContextId -> bool
Public Shared Operator == (left As DbContextId, right As DbContextId) As Boolean

Parameters

left
DbContextId

The first ID.

right
DbContextId

The second ID.

Returns

true if they represent the same leased context; false otherwise.

Applies to