Udostępnij za pośrednictwem


DbContextId.Equality(DbContextId, DbContextId) Operator

Definicja

Porównuje jeden identyfikator z innym identyfikatorem, aby sprawdzić, czy reprezentują ten sam kontekst dzierżawiony.

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

Parametry

left
DbContextId

Pierwszy identyfikator.

right
DbContextId

Drugi identyfikator.

Zwraca

true jeśli reprezentują ten sam kontekst dzierżawiony; false Inaczej.

Dotyczy