示例#1
0
 private bool Equals(MySqlCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 Equals(_serverVersion, other._serverVersion) &&
 _nullableCharSetBehavior.GetValueOrDefault() == other._nullableCharSetBehavior.GetValueOrDefault() &&
 Equals(_charSet, other._charSet) &&
 _noBackslashEscapes == other._noBackslashEscapes
 ;
 /// <summary>
 /// ÊÇ·ñÏàµÈ
 /// </summary>
 /// <param name="obj">OracleCompiledQueryCacheKey²éѯ»º´æ¼ü¶ÔÏó</param>
 /// <returns></returns>
 public override bool Equals(object obj)
 {
     if (obj != null && obj is OracleCompiledQueryCacheKey)
     {
         OracleCompiledQueryCacheKey other = (OracleCompiledQueryCacheKey)obj;
         return(_relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey));
     }
     return(false);
 }
 private bool Equals(SqlServerCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 (_useRowNumberOffset == other._useRowNumberOffset);
示例#4
0
 private bool Equals(OracleCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey);
 private bool Equals(NpgsqlCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 _reverseNullOrdering == other._reverseNullOrdering;
 private bool Equals(MySqlCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 Equals(_serverVersion, other._serverVersion) &&
 Equals(_charSet, other._charSet) &&
 _noBackslashEscapes == other._noBackslashEscapes
 ;
示例#7
0
 public bool Equals(SqlServerCompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 _multipleActiveResultSetsEnabled == other._multipleActiveResultSetsEnabled;
示例#8
0
 bool Equals(AS400CompiledQueryCacheKey other)
 => _relationalCompiledQueryCacheKey.Equals(other._relationalCompiledQueryCacheKey) &&
 _useRowNumberOffset == other._useRowNumberOffset;