Udostępnij za pośrednictwem


DbContextId.Equals Metoda

Definicja

Przeciążenia

Equals(DbContextId)

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

Equals(Object)

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

Equals(DbContextId)

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

public bool Equals (Microsoft.EntityFrameworkCore.DbContextId other);
override this.Equals : Microsoft.EntityFrameworkCore.DbContextId -> bool
Public Function Equals (other As DbContextId) As Boolean

Parametry

other
DbContextId

Drugi identyfikator.

Zwraca

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

Dotyczy

Equals(Object)

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

public override bool Equals (object obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parametry

obj
Object

Drugi identyfikator.

Zwraca

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

Dotyczy