public override bool Visit(SqlIdentifierPathExpression first, SqlObject secondAsObject) { if (!(secondAsObject is SqlIdentifierPathExpression second)) { return(false); } if (!first.Value.Accept(this, second.Value)) { return(false); } if (!SqlObjectEqualityVisitor.Equals(first.ParentPath, second.ParentPath)) { return(false); } return(true); }
public override bool Visit(SqlInputPathCollection first, SqlObject secondAsObject) { if (!(secondAsObject is SqlInputPathCollection second)) { return(false); } if (!first.Input.Accept(this, second.Input)) { return(false); } if (!SqlObjectEqualityVisitor.Equals(first.RelativePath, second.RelativePath)) { return(false); } return(true); }
public override bool Visit(SqlAliasedCollectionExpression first, SqlObject secondAsObject) { if (!(secondAsObject is SqlAliasedCollectionExpression second)) { return(false); } if (!SqlObjectEqualityVisitor.Equals(first.Alias, second.Alias)) { return(false); } if (!first.Collection.Accept(this, second.Collection)) { return(false); } return(true); }