DbContextId.Equality(DbContextId, DbContextId) Betreiber

Definition

Vergleicht eine ID mit einer anderen ID, um zu sehen, ob sie denselben geleasten Kontext darstellen.

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

Parameter

left
DbContextId

Die erste ID.

right
DbContextId

Die zweite ID.

Gibt zurück

true , wenn sie denselben Leasekontext darstellen; false Andernfalls.

Gilt für: