Share via


RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey.Equals Method

Definition

Overloads

Equals(RelationalCompiledQueryCacheKeyGenerator+RelationalCompiledQueryCacheKey)

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(RelationalCompiledQueryCacheKeyGenerator+RelationalCompiledQueryCacheKey)

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

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

Parameters

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 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey and is for the same query, otherwise false.

Applies to