RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey and is for the same query,
otherwise false
.
Applies to
Entity Framework