예제 #1
0
        public virtual void SetUp()
        {
            SourceNode = ExpressionNodeObjectMother.CreateMainSource();
            ClauseGenerationContext = new ClauseGenerationContext(ExpressionTreeParser.CreateDefaultNodeTypeProvider());

            QueryModel      = SourceNode.Apply(null, ClauseGenerationContext);
            SourceClause    = QueryModel.MainFromClause;
            SourceReference = (QuerySourceReferenceExpression)QueryModel.SelectClause.Selector;
        }