public virtual void VisitFromClause(FromClause node)
 {
     Visit(node.Identifier);
     Visit(node.Collection);
 }
		public override void VisitFromClause(FromClause node)
		{
			WriteKeyword(KeyWordWriter.LinqFrom);
			WriteSpace();
			Visit(node.Identifier);
			WriteSpace();
			WriteKeyword(KeyWordWriter.LinqIn);
			WriteSpace();
			Visit(node.Collection);
		}
Exemplo n.º 3
0
        public override bool Equals(Expression other)
        {
            FromClause fromClause = other as FromClause;

            return(fromClause != null && this.Identifier.Equals(fromClause.Identifier) && this.Collection.Equals(fromClause.Collection));
        }