Share via


DbContextId.Equals Method

Definition

Overloads

Equals(DbContextId)

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

Equals(Object)

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

Equals(DbContextId)

Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs

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

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

Parameters

other
DbContextId

The other ID.

Returns

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

Applies to

Equals(Object)

Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs
Source:
DbContextId.cs

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

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

Parameters

obj
Object

The other ID.

Returns

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

Applies to