共用方式為


RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey.Equals 方法

定義

多載

Equals(RelationalCompiledQueryCacheKeyGenerator+RelationalCompiledQueryCacheKey)

指出目前的物件是否等於另一個相同類型的物件。

Equals(Object)

判斷此索引鍵是否相當於指定的物件 (,亦即它們是否為相同查詢的索引鍵) 。

Equals(RelationalCompiledQueryCacheKeyGenerator+RelationalCompiledQueryCacheKey)

指出目前的物件是否等於另一個相同類型的物件。

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

參數

other
RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey

要與此物件進行比較的物件。

傳回

若目前的物件等於 true 參數,則為 other,否則即為 false

實作

適用於

Equals(Object)

判斷此索引鍵是否相當於指定的物件 (,亦即它們是否為相同查詢的索引鍵) 。

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

參數

obj
Object

要比較這個索引鍵的物件。

傳回

true 如果 物件是 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey ,而且用於相同的查詢,則為 ,否則 false 為 。

適用於