public override void Visit(SqlAliasedCollectionExpression sqlAliasedCollectionExpression) { sqlAliasedCollectionExpression.Collection.Accept(this); if (sqlAliasedCollectionExpression.Alias != null) { this.writer.Write(" AS "); sqlAliasedCollectionExpression.Alias.Accept(this); } }
protected override void Visit(SqlAliasedCollectionExpression expression) { if (expression.Alias != null) { this.rootName = expression.Alias.Value; } else { this.rootName = SqlCollectionRootNameExtractor.ExtractRootName(expression.Collection); } }
public override int Visit(SqlAliasedCollectionExpression sqlAliasedCollectionExpression) { int hashCode = SqlAliasedCollectionExpressionHashCode; hashCode = CombineHashes(hashCode, sqlAliasedCollectionExpression.Collection.Accept(this)); if (sqlAliasedCollectionExpression.Alias != null) { hashCode = CombineHashes(hashCode, sqlAliasedCollectionExpression.Alias.Accept(this)); } return(hashCode); }
public override SqlObject Visit(SqlAliasedCollectionExpression sqlAliasedCollectionExpression) { return(SqlAliasedCollectionExpression.Create( sqlAliasedCollectionExpression.Collection.Accept(this) as SqlCollection, sqlAliasedCollectionExpression.Alias.Accept(this) as SqlIdentifier)); }
public abstract void Visit(SqlAliasedCollectionExpression collectionExpression);
protected abstract void Visit(SqlAliasedCollectionExpression expression);