public override bool Equals(object obj) { if (obj == null) { return(false); } if (!(obj is SqlQueryCombined <T> typed)) { return(false); } return(_cacheMappings == typed._cacheMappings && _query.Equals(typed._query) && _materializer.Equals(typed._materializer)); }