Ejemplo n.º 1
0
 /// <summary>
 ///     Indicates whether the current object is equal to another object of the same type.
 /// </summary>
 /// <param name="other">
 ///     An object to compare with this object.
 /// </param>
 /// <returns>
 ///     <see langword="true" /> if the current object is equal to the <paramref name="other" /> parameter; otherwise, <see langword="false" />.
 /// </returns>
 public bool Equals(RelationalCompiledQueryCacheKey other)
 => _compiledQueryCacheKey.Equals(other._compiledQueryCacheKey) &&
 _useRelationalNulls == other._useRelationalNulls &&
 _querySplittingBehavior == other._querySplittingBehavior &&
 _shouldBuffer == other._shouldBuffer;
 private bool Equals(RelationalCompiledQueryCacheKey other)
 => _compiledQueryCacheKey.Equals(other._compiledQueryCacheKey) &&
 _useRelationalNulls == other._useRelationalNulls;