Share via


CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey.Equals Method

Definition

Overloads

Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines if this key is equivalent to a given object (i.e. if they are keys for the same query).

Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

Indicates whether the current object is equal to another object of the same type.

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

Parameters

other
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Applies to

Equals(Object)

Determines if this key is equivalent to a given object (i.e. if they are keys for the same query).

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 object to compare this key to.

Returns

true if the object is a CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey and is for the same query, otherwise false.

Applies to